diff options
author | Roger Quadros <rogerq@ti.com> | 2012-11-28 09:31:29 -0500 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2013-02-13 06:22:55 -0500 |
commit | a8c4e9e1118f0a12e3a9524d8d597487d7e3476d (patch) | |
tree | 3a2e388d960848fbd73c801813b2bd2a4b99eb7c /drivers/mfd | |
parent | c4df00aed9e2e6e3ab094b4bb8b9ecb64cf8c70e (diff) |
mfd: omap-usb-host: Don't spam console on clk_set_parent failure
clk_set_parent is expected to fail on OMAP3 platforms. We don't
consider that as fatal so don't spam console.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/omap-usb-host.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 7f9c38675d91..b21ca760b1bd 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c | |||
@@ -671,32 +671,32 @@ static int usbhs_omap_probe(struct platform_device *pdev) | |||
671 | } | 671 | } |
672 | 672 | ||
673 | if (is_ehci_phy_mode(pdata->port_mode[0])) { | 673 | if (is_ehci_phy_mode(pdata->port_mode[0])) { |
674 | /* for OMAP3 , the clk set paretn fails */ | 674 | /* for OMAP3, clk_set_parent fails */ |
675 | ret = clk_set_parent(omap->utmi_p1_gfclk, | 675 | ret = clk_set_parent(omap->utmi_p1_gfclk, |
676 | omap->xclk60mhsp1_ck); | 676 | omap->xclk60mhsp1_ck); |
677 | if (ret != 0) | 677 | if (ret != 0) |
678 | dev_err(dev, "xclk60mhsp1_ck set parent" | 678 | dev_dbg(dev, "xclk60mhsp1_ck set parent failed: %d\n", |
679 | "failed error:%d\n", ret); | 679 | ret); |
680 | } else if (is_ehci_tll_mode(pdata->port_mode[0])) { | 680 | } else if (is_ehci_tll_mode(pdata->port_mode[0])) { |
681 | ret = clk_set_parent(omap->utmi_p1_gfclk, | 681 | ret = clk_set_parent(omap->utmi_p1_gfclk, |
682 | omap->init_60m_fclk); | 682 | omap->init_60m_fclk); |
683 | if (ret != 0) | 683 | if (ret != 0) |
684 | dev_err(dev, "init_60m_fclk set parent" | 684 | dev_dbg(dev, "P0 init_60m_fclk set parent failed: %d\n", |
685 | "failed error:%d\n", ret); | 685 | ret); |
686 | } | 686 | } |
687 | 687 | ||
688 | if (is_ehci_phy_mode(pdata->port_mode[1])) { | 688 | if (is_ehci_phy_mode(pdata->port_mode[1])) { |
689 | ret = clk_set_parent(omap->utmi_p2_gfclk, | 689 | ret = clk_set_parent(omap->utmi_p2_gfclk, |
690 | omap->xclk60mhsp2_ck); | 690 | omap->xclk60mhsp2_ck); |
691 | if (ret != 0) | 691 | if (ret != 0) |
692 | dev_err(dev, "xclk60mhsp2_ck set parent" | 692 | dev_dbg(dev, "xclk60mhsp2_ck set parent failed: %d\n", |
693 | "failed error:%d\n", ret); | 693 | ret); |
694 | } else if (is_ehci_tll_mode(pdata->port_mode[1])) { | 694 | } else if (is_ehci_tll_mode(pdata->port_mode[1])) { |
695 | ret = clk_set_parent(omap->utmi_p2_gfclk, | 695 | ret = clk_set_parent(omap->utmi_p2_gfclk, |
696 | omap->init_60m_fclk); | 696 | omap->init_60m_fclk); |
697 | if (ret != 0) | 697 | if (ret != 0) |
698 | dev_err(dev, "init_60m_fclk set parent" | 698 | dev_dbg(dev, "P1 init_60m_fclk set parent failed: %d\n", |
699 | "failed error:%d\n", ret); | 699 | ret); |
700 | } | 700 | } |
701 | 701 | ||
702 | omap_usbhs_init(dev); | 702 | omap_usbhs_init(dev); |