[media] noon010pc30: Improve s_power operation handling
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 12 Sep 2011 13:34:03 +0000 (10:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Sep 2011 17:28:36 +0000 (14:28 -0300)
commitbc3603248fecbdeb4a2c0568fc6606f257b6ca23
treefff7572f11ff5a4bab7c90dd12afe62cd063df90
parent6426e14a7ebfaea831db8d95f55da334701f2c37
[media] noon010pc30: Improve s_power operation handling

Remove the now unneeded check for the platform data in s_power
handler and the platform data pointer in struct noon010_info.
Also do not reset the configured output resolution and pixel
format when cycling sensor's power.
Add small delay for proper reset signal shape.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/noon010pc30.c