mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
media: atmel: atmel-sama7g5-isc: fix ispck leftover
The ispck is not used for sama7g5 variant of the ISC.
Calls to ispck have to be removed also from module insert/removal.
Fixes: d7f26849ed
("media: atmel: fix the ispck initialization")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
ae9a7d57f6
commit
1b52ce99e9
1 changed files with 0 additions and 6 deletions
|
@ -556,7 +556,6 @@ static int microchip_xisc_remove(struct platform_device *pdev)
|
|||
|
||||
v4l2_device_unregister(&isc->v4l2_dev);
|
||||
|
||||
clk_disable_unprepare(isc->ispck);
|
||||
clk_disable_unprepare(isc->hclock);
|
||||
|
||||
isc_clk_cleanup(isc);
|
||||
|
@ -568,7 +567,6 @@ static int __maybe_unused xisc_runtime_suspend(struct device *dev)
|
|||
{
|
||||
struct isc_device *isc = dev_get_drvdata(dev);
|
||||
|
||||
clk_disable_unprepare(isc->ispck);
|
||||
clk_disable_unprepare(isc->hclock);
|
||||
|
||||
return 0;
|
||||
|
@ -583,10 +581,6 @@ static int __maybe_unused xisc_runtime_resume(struct device *dev)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = clk_prepare_enable(isc->ispck);
|
||||
if (ret)
|
||||
clk_disable_unprepare(isc->hclock);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue