mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
omapfb: simplify the return expression of hdmi_pll_enable
Simplify the return expression. Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200921131112.93411-1-miaoqinglang@huawei.com
This commit is contained in:
parent
10732a0f64
commit
defa1dcc56
@ -104,11 +104,7 @@ static int hdmi_pll_enable(struct dss_pll *dsspll)
|
||||
|
||||
dss_ctrl_pll_enable(DSS_PLL_HDMI, true);
|
||||
|
||||
r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS);
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
return 0;
|
||||
return hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS);
|
||||
}
|
||||
|
||||
static void hdmi_pll_disable(struct dss_pll *dsspll)
|
||||
|
Loading…
Reference in New Issue
Block a user