]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] media: marvell-ccic: use devm to release clk
authorLibin Yang <lbyang@marvell.com>
Tue, 5 Nov 2013 08:29:07 +0000 (05:29 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 9 Dec 2013 16:50:51 +0000 (14:50 -0200)
commit326f5a3fc502f96bce991bedd1957adc2758dba9
tree68f483919a32a70e0c18c111cad180bc09a68a8b
parent06eb891edb4009245278a0ae50ccfd6fc99004d2
[media] media: marvell-ccic: use devm to release clk

This patch uses devm to release the clks instead of releasing
manually.
And it adds enable/disable mipi_clk when getting its rate.

Signed-off-by: Libin Yang <lbyang@marvell.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/marvell-ccic/mmp-driver.c