[media] smiapp: Prepare and unprepare clocks correctly
authorSakari Ailus <sakari.ailus@iki.fi>
Sat, 10 Aug 2013 17:49:47 +0000 (14:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 22 Aug 2013 14:38:45 +0000 (11:38 -0300)
commitd0aae0048aef36065de953878422c475f53230d0
tree28cf2a3097fcbccf9cf3311ffff5f98fc516cd46
parent367da7a31804ee76ebce5bc8706fcda507008ac3
[media] smiapp: Prepare and unprepare clocks correctly

Prepare clocks before enabling and unprepare after disabling them.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c