aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChris Ruehl <[email protected]>2020-05-11 16:30:22 +0800
committerMark Brown <[email protected]>2020-05-15 18:50:06 +0100
commiteb1262e3cc8b529218e085254888c90f096a5da5 (patch)
treec26ef97bf88736b057669962bf29394080c99478 /tools/perf/scripts/python/export-to-sqlite.py
parentd065f41a3f0d0974593122e4864e158bb945696e (diff)
spi: spi-rockchip: use num-cs property and ctlr->enable_gpiods
The original implementation set num_chipselect to ROCKCHIP_SPI_MAX_CS_NUM (2) which seems wrong here. spi0 has 2 native cs, all others just one. With enable and use of cs_gpiods / GPIO CS, its correct to set the num_chipselect from the num-cs property and set max_native_cs with the define. If num-cs is missing the default set to num_chipselect = 1. Signed-off-by: Chris Ruehl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions