mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
fbdev: omap2: Return clk_prepare_enable to transfer the error
Return clk_prepare_enable() in order to transfer the error if it fails. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
b65bd7874b
commit
7ee6cfe6d9
|
|
@ -903,9 +903,7 @@ static int venc_runtime_resume(struct device *dev)
|
|||
if (r < 0)
|
||||
return r;
|
||||
|
||||
clk_prepare_enable(venc.tv_dac_clk);
|
||||
|
||||
return 0;
|
||||
return clk_prepare_enable(venc.tv_dac_clk);
|
||||
}
|
||||
|
||||
static const struct dev_pm_ops venc_pm_ops = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user