Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
Pull clk fix from Stephen Boyd: "One hotfix for a NULL pointer deref in the Renesas usb clk driver" * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
This commit is contained in:
@@ -187,7 +187,7 @@ static int rcar_usb2_clock_sel_probe(struct platform_device *pdev)
|
|||||||
init.ops = &usb2_clock_sel_clock_ops;
|
init.ops = &usb2_clock_sel_clock_ops;
|
||||||
priv->hw.init = &init;
|
priv->hw.init = &init;
|
||||||
|
|
||||||
ret = devm_clk_hw_register(NULL, &priv->hw);
|
ret = devm_clk_hw_register(dev, &priv->hw);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto pm_put;
|
goto pm_put;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user