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: NDavid Fries <David@Fries.net> Acked-by: NEvgeniy Polyakov <zbr@ioremap.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录