[media] tvp7002: Don't update device->streaming if write to register fails
authorAxel Lin <axel.lin@ingics.com>
Sat, 16 Aug 2014 06:57:30 +0000 (03:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 23:11:30 +0000 (20:11 -0300)
commit18cb65033832df8d33aa3a9c9c3e32016fc09cf5
treee819d0dac37b00e76dcb6ce00f1812ab6da7d70f
parenta0ffe4c0908b27b35ce56d35ba6f3c10be3fd371
[media] tvp7002: Don't update device->streaming if write to register fails

This ensures device->streaming has correct status.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tvp7002.c