summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-05-10 07:40:22 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-06-10 13:41:36 +0200
commitcac1c639bc336a9de90ecd7fa97180d3f4acc3f3 (patch)
tree48fdbe4f728dd79408a4c35c6c0322e113d1454e /include/media
parent[media] em28xx-i2c: rt_mutex_trylock() returns zero on failure (diff)
downloadlinux-cac1c639bc336a9de90ecd7fa97180d3f4acc3f3.tar.xz
linux-cac1c639bc336a9de90ecd7fa97180d3f4acc3f3.zip
[media] m88rs2000: initialize status to zero
status is not initialized so it can contain garbage. The check for status containing the FE_HAS_LOCK bit may randomly pass or fail if the read of register 0x8c fails to set status after 25 read attempts. Fix this by initializing status to 0. Issue found with CoverityScan, CID#986738 Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions