diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2018-02-21 16:04:01 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-13 10:47:52 +0200 |
commit | 5864470a6e6bf2d4d67fb719b012f88ea48eb656 (patch) | |
tree | 14577b1ba1d7f46d167adedcc412133a1d3341c9 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 3589cce2b92ba8a11372f2c707adc9eb623efa67 (diff) |
usb: phy-generic: Use gpiod_set_value_cansleep
The nop_reset and shutdown methods are called in a context that can sleep,
so use gpiod_set_value_cansleep instead of gpiod_set_value.
If you've connected the reset line to a GPIO expander, you'd get a kernel
"slowpath" warning with gpiod_set_value.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions