diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-01-23 18:49:29 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-23 08:51:35 +0100 |
commit | f4b32c292aa66788ba7d4db54a76b4a08f60784a (patch) | |
tree | 2dd0e3f859eef9484a5c8c7679444e1cc75f933f /drivers/media/i2c/ov13858.c | |
parent | media: ov13858: Avoid possible null first frame (diff) | |
download | linux-f4b32c292aa66788ba7d4db54a76b4a08f60784a.tar.xz linux-f4b32c292aa66788ba7d4db54a76b4a08f60784a.zip |
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>
Diffstat (limited to 'drivers/media/i2c/ov13858.c')
-rw-r--r-- | drivers/media/i2c/ov13858.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c index 2964d5cae1fb..1f260d346a29 100644 --- a/drivers/media/i2c/ov13858.c +++ b/drivers/media/i2c/ov13858.c @@ -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; } |