USB: ohci-s3c2410: fix name of bus clock
The USB bus clock is usb-bus-host, so print the correct name in the dev_err() statement if we cannot find it. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Acked-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
Родитель
3edb8a208b
Коммит
2dfa319a64
|
@ -371,7 +371,7 @@ static int usb_hcd_s3c2410_probe (const struct hc_driver *driver,
|
||||||
|
|
||||||
usb_clk = clk_get(&dev->dev, "usb-bus-host");
|
usb_clk = clk_get(&dev->dev, "usb-bus-host");
|
||||||
if (IS_ERR(usb_clk)) {
|
if (IS_ERR(usb_clk)) {
|
||||||
dev_err(&dev->dev, "cannot get usb-host clock\n");
|
dev_err(&dev->dev, "cannot get usb-bus-host clock\n");
|
||||||
retval = -ENOENT;
|
retval = -ENOENT;
|
||||||
goto err_clk;
|
goto err_clk;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче