[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 23:00:02 +0000 (20:00 -0300)
commiteb68faaf6685dca904cc92dfbe1028eb5475d662
tree83dcedbff2e70fccd6defb926cea907ccd81d74b
parentc72f429f665c1f8087dddde75f4e99f4d1f886cd
[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/platform/mx2_camera.c