diff options
| author | Andy Shevchenko <[email protected]> | 2021-03-23 17:36:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 16:53:30 +0100 |
| commit | 971d080212be4ce2b91047d25a657f46d3e39635 (patch) | |
| tree | 785f730f1b9c23fa5283b22cce50e0d594b2fea0 /tools/perf/scripts/python | |
| parent | 50a318cc9b54a36f00beadf77e578a50f3620477 (diff) | |
usb: gadget: pch_udc: Initialize device pointer before use
During conversion to use GPIO descriptors the device pointer,
which is applied to devm_gpiod_get(), is not yet initialized.
Move initialization in the ->probe() in order to have it set before use.
Fixes: e20849a8c883 ("usb: gadget: pch_udc: Convert to use GPIO descriptors")
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions