diff options
| author | Robert Marko <[email protected]> | 2022-10-06 19:48:19 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-10-17 11:46:59 +0000 |
| commit | b40af6183b685b0cf7870987b858de0d48db9ea0 (patch) | |
| tree | 8df886e47133b3c7780c793d6ccc984fc21ae2d2 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | spi: intel: Fix the offset to get the 64K erase opcode (diff) | |
| download | kernel-b40af6183b685b0cf7870987b858de0d48db9ea0.tar.gz kernel-b40af6183b685b0cf7870987b858de0d48db9ea0.zip | |
spi: qup: support using GPIO as chip select line
Most of the device with QUP SPI adapter are actually using GPIO-s for
chip select.
However, this stopped working after ("spi: Retire legacy GPIO handling")
as it introduced a check on ->use_gpio_descriptors flag and since spi-qup
driver does not set the flag it meant that all of boards using GPIO-s and
with QUP adapter SPI devices stopped working.
So, to enable using GPIO-s again set ->use_gpio_descriptors to true and
populate ->max_native_cs.
Fixes: f48dc6b96649 ("spi: Retire legacy GPIO handling")
Signed-off-by: Robert Marko <[email protected]>
Cc: [email protected]
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
