[media] media: mx2_camera: Fix clock handling for i.MX27
authorJavier Martin <javier.martin@vista-silicon.com>
Wed, 1 Aug 2012 09:16:44 +0000 (06:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 22:24:20 +0000 (19:24 -0300)
commitad5b987031835b0ac3064ef12209282277dbae54
tree51acc91c3ef8f7dd6ced376985904bc5ac26d7df
parentf8afbf3caa991655e989ecd10c135162d84288b2
[media] media: mx2_camera: Fix clock handling for i.MX27

On i.MX27 two clocks are required: emma-ipg and emma-ahb. The ahb clock
has to be requested using both a device and a connection ID.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
[g.liakhovetski@gmx.de: rebase to the current media tree]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx2_camera.c