lkml.org 
[lkml]   [2020]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 4/4] gpio: dwapb: Add debounce reference clock support
Hi Sergey,

thanks for your patch!

On Fri, Mar 6, 2020 at 2:25 PM <Sergey.Semin@baikalelectronics.ru> wrote:

> + err = devm_clk_bulk_get_optional(&pdev->dev, DWAPB_NR_CLOCKS,
> + gpio->clks);
> + if (err) {
> + dev_info(&pdev->dev, "Cannot get APB/Debounce clocks\n");

dev_err() again.

> + err = clk_bulk_prepare_enable(DWAPB_NR_CLOCKS, gpio->clks);
> if (err) {
> - dev_info(&pdev->dev, "Cannot enable APB clock\n");
> + dev_info(&pdev->dev, "Cannot enable APB/Debounce clocks\n");

dev_err() again.

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2020-03-12 14:56    [W:0.043 / U:9.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site