]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
w1: Only wake up the search process if it is going to be searching
authorDavid Fries <David@Fries.net>
Thu, 16 Jan 2014 04:29:14 +0000 (22:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 23:40:17 +0000 (15:40 -0800)
commitaf8c7237b082acefb996878a21a87017059b2c52
tree18fb2bde4eba67f96d64261bda0854bcf2db3630
parent421056987620fecb43c22c558e127085c406b7ba
w1: Only wake up the search process if it is going to be searching

It's valid to set the search count to 0 to stop searching, so don't
wake up the search thread to not search.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c