[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <153897864285.119890.13024399324598460044@swboyd.mtv.corp.google.com>
Date: Sun, 07 Oct 2018 23:04:02 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Sodagudi Prasad <psodagud@...eaurora.org>,
bjorn.andersson@...aro.org, linus.walleij@...aro.org,
linux-gpio@...r.kernel.org, sboyd@...eaurora.org
Cc: linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-gpio@...r.kernel.org
Subject: Re: protected pins and debugfs
Quoting Sodagudi Prasad (2018-10-03 05:38:24)
>
> for (i = 0; i < chip->ngpio; i++, gpio++) {
> + label = gpiochip_is_requested(chip, i);
> + if (!label)
> + continue;
> msm_gpio_dbg_show_one(s, NULL, chip, i, gpio);
> - seq_puts(s, "\n");
> }
> }
>
Does something not work with the following code in
msm_gpio_dbg_show_one()?
if (!gpiochip_line_is_valid(chip, offset))
return;
Powered by blists - more mailing lists