Files
twx-linux/drivers
Nicholas Mc Guire f80c5cf3de staging: bcm2835-camera: handle wait_for_completion_timeout return properly
[ Upstream commit 5b70084f6c ]

wait_for_completion_timeout returns unsigned long not int so a variable of
proper type is introduced. Further the check for <= 0 is ambiguous and
should be == 0 here indicating timeout.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: 7b3ad5abf0 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-26 08:38:03 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
2018-08-22 07:46:11 +02:00
…
…
…
2018-08-24 13:09:06 +02:00
…
…
…
…
…
…
2018-09-15 09:45:27 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…