[media] m5mols: Do not reset the configured pixel format when unexpected
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 15 Nov 2011 18:55:17 +0000 (15:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 16:38:54 +0000 (14:38 -0200)
commitf428948b98e3b9476057ee483e7e763a5ac61a69
tree9c698f17522a6d3b749bbb617dbf1a2e0e2af8a1
parentaa1f4601ed35820a9bd720cc5b1e3fe3c4ff7c5f
[media] m5mols: Do not reset the configured pixel format when unexpected

Initialize default pixel format in driver probe() rather than in
s_power handler. This also prevents resetting the configuration
applied before the device was powered on.

Acked-by: HeungJun Kim <riverful.kim@samsung.com>
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/m5mols/m5mols_core.c