]> git.karo-electronics.de Git - linux-beck.git/commit
staging: greybus: light: check the correct value of delay_on
authorRui Miguel Silva <rmfrfs@gmail.com>
Fri, 30 Sep 2016 17:26:55 +0000 (18:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 13:49:26 +0000 (15:49 +0200)
commit5cf62679153ed7014d6952bb6a5094b3ee31428d
tree6700f7b8a17bfd7e85598cbcb5771f737c4758e4
parent544a69443bf069fa52b1b3b5e25b682b710210f5
staging: greybus: light: check the correct value of delay_on

When checking the value of delay_on to set the channel as active, it was
checked the pointer and not the value, as it should be.

Fixes: cc43368a3c ("greybus: lights: Control runtime pm suspend/resume on AP side")
Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/light.c