From: Guennadi Liakhovetski Date: Thu, 3 Jan 2013 14:21:02 +0000 (-0300) Subject: [media] soc-camera: fix repeated regulator requesting X-Git-Tag: v3.9-rc1~93^2~288 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a97d4c11756ab6bab8582126d0f1b5c00b067ad;p=pandora-kernel.git [media] soc-camera: fix repeated regulator requesting Currently devm_regulator_bulk_get() is called by soc-camera during host driver probing, but regulators are attached to the camera platform device, that is staying, independent whether the host probed successfully or not. This can lead to repeated regulator requesting, if the host driver is re-probed. Move the call to platform device probing to avoid this. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed