[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150114173729.GG16533@saruman>
Date: Wed, 14 Jan 2015 11:37:29 -0600
From: Felipe Balbi <balbi@...com>
To: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
CC: Felipe Balbi <balbi@...com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Arnd Bergmann <arnd@...db.de>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
Jean-Jacques Hiblot <jjhiblot@...phandler.com>
Subject: Re: [PATCH 05/12] usb: gadget: at91_udc: Fix clock names
On Wed, Jan 14, 2015 at 05:21:57PM +0100, Alexandre Belloni wrote:
> From: Boris Brezillon <boris.brezillon@...e-electrons.com>
>
> The driver is requesting clock by their global name (those declared in the
> clk_lookup list), but this only works with !CCF kernels.
>
> Now that all SoCs have moved to CCF, fix the driver to use local names
> (hclk and pclk).
>
> Signed-off-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
Acked-by: Felipe Balbi <balbi@...com>
> ---
> drivers/usb/gadget/udc/at91_udc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c
> index c862656d18b8..9ff2f7e5c6a7 100644
> --- a/drivers/usb/gadget/udc/at91_udc.c
> +++ b/drivers/usb/gadget/udc/at91_udc.c
> @@ -1779,8 +1779,8 @@ static int at91udc_probe(struct platform_device *pdev)
> udc_reinit(udc);
>
> /* get interface and function clocks */
> - udc->iclk = clk_get(dev, "udc_clk");
> - udc->fclk = clk_get(dev, "udpck");
> + udc->iclk = clk_get(dev, "pclk");
> + udc->fclk = clk_get(dev, "hclk");
> if (IS_ENABLED(CONFIG_COMMON_CLK))
> udc->uclk = clk_get(dev, "usb_clk");
> if (IS_ERR(udc->iclk) || IS_ERR(udc->fclk) ||
> --
> 2.1.0
>
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists