1
0
Fork 0

media: ov13858: Use false for boolean value

Assign true or false to boolean variables instead of an integer value.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
zero-colors
Gustavo A. R. Silva 2018-01-23 12:49:29 -05:00 committed by Mauro Carvalho Chehab
parent d365bc9247
commit f4b32c292a
1 changed files with 1 additions and 1 deletions

View File

@ -1569,7 +1569,7 @@ static int __maybe_unused ov13858_resume(struct device *dev)
error:
ov13858_stop_streaming(ov13858);
ov13858->streaming = 0;
ov13858->streaming = false;
return ret;
}