lkml.org 
[lkml]   [2018]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: protected pins and debugfs
Date
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;

\
 
 \ /
  Last update: 2018-10-08 08:04    [W:0.097 / U:3.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site