mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 03:38:10 -04:00
Merge tag 'pwm/for-6.9-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux
Pull pwm fix from Uwe Kleine-König: "This contains a single fix for a regression introduced in v5.18-rc1 which made the img pwm driver fail to bind" * tag 'pwm/for-6.9-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux: pwm: img: fix pwm clock lookup
This commit is contained in:
@@ -284,9 +284,9 @@ static int img_pwm_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(imgchip->sys_clk);
|
||||
}
|
||||
|
||||
imgchip->pwm_clk = devm_clk_get(&pdev->dev, "imgchip");
|
||||
imgchip->pwm_clk = devm_clk_get(&pdev->dev, "pwm");
|
||||
if (IS_ERR(imgchip->pwm_clk)) {
|
||||
dev_err(&pdev->dev, "failed to get imgchip clock\n");
|
||||
dev_err(&pdev->dev, "failed to get pwm clock\n");
|
||||
return PTR_ERR(imgchip->pwm_clk);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user