OSDN Git Service

[media] soc_camera: Don't call .s_power() during probe
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 18 Jul 2012 13:54:01 +0000 (10:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 19:53:39 +0000 (16:53 -0300)
commit37ad4e734bbc27ad1bec2d1cc3ffaa79b1def262
tree1ac17daac0e198d545bbf0a170ef2a1ccf973484
parent2c3fb08b3f74b8792004095a1f6881a3296ff643
[media] soc_camera: Don't call .s_power() during probe

The .s_power() call only covers the .g_mbus_fmt() operation call.
Several clients required to be powered on to retrieve the current mbus
format but have now been fixed. The .s_power() call is thus not needed
anymore and can be removed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera.c