diff options
| author | Michael Hennerich <[email protected]> | 2010-10-22 06:01:47 +0000 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2010-10-22 07:26:46 +0000 |
| commit | 73e1ac16258fe7e55cce4691e32c0b44d4579e08 (patch) | |
| tree | aaa8fe91c600c5c07fdc105ba65dee42192dc4cf /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | spi/bfin_spi: handle error/status changes after data interrupts (diff) | |
| download | kernel-73e1ac16258fe7e55cce4691e32c0b44d4579e08.tar.gz kernel-73e1ac16258fe7e55cce4691e32c0b44d4579e08.zip | |
spi/bfin_spi: only request GPIO on first load
The gpiolib code does not allow people to do gpio_request() on a GPIO
once it has already been requested. So make sure we only request the
pin on the first setup of a SPI device. Otherwise, if you attempts to
reconfigure a SPI device on the fly (like change bit sizes), the setup
function incorrectly fails.
Signed-off-by: Michael Hennerich <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
