aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2022-04-12 14:22:07 +0200
committerMark Brown <broonie@kernel.org>2022-04-12 17:17:21 +0100
commitb3fe2e516741368a643d79527ebccfe557217a53 (patch)
treeebc4ba21b57446cdbde278bbab5c285c9903c283 /tools/perf/scripts/python/bin/stackcollapse-record
parentspi: spi-stm32-qspi: using pm_runtime_resume_and_get instead of pm_runtime_ge... (diff)
downloadlinux-b3fe2e516741368a643d79527ebccfe557217a53.tar.gz
linux-b3fe2e516741368a643d79527ebccfe557217a53.zip
spi: core: Only check bits_per_word validity when explicitly provided
On SPI device probe, the core will call spi_setup in spi_add_device before the corresponding driver was probed. When this happens, the bits_per_word member of the device is not yet set by the driver, resulting in the default being set to 8 bits-per-word. However some controllers do not support 8 bits-per-word at all, which results in a failure when checking the bits-per-word validity. In order to support these devices, skip the bits-per-word validity check when it is not explicitly provided by drivers. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Link: https://lore.kernel.org/r/20220412122207.130181-1-paul.kocialkowski@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions