aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-12-04 11:35:38 -0800
committerMark Brown <[email protected]>2020-12-09 16:52:08 +0000
commit74639cbf51d7c0304342544a83dfda354a6bd208 (patch)
tree0d0ed15294cee519df6065902e83fcc8c84fd79e /tools/perf/scripts/python/export-to-postgresql.py
parentb65054597872ce3aefbc6a666385eabdf9e288da (diff)
platform/chrome: cros_ec_spi: Don't overwrite spi::mode
There isn't any need to overwrite the mode here in the driver with what has been detected by the firmware, such as DT or ACPI. In fact, if we use the SPI CS gpio descriptor feature we will overwrite the mode with SPI_MODE_0 where it already contains SPI_MODE_0 and more importantly SPI_CS_HIGH. Clearing the SPI_CS_HIGH bit causes the CS line to toggle when the device is probed when it shouldn't change, confusing the driver and making it fail to probe. Drop the assignment and let the spi core take care of it. Fixes: a17d94f0b6e1 ("mfd: Add ChromeOS EC SPI driver") Cc: Simon Glass <[email protected]> Cc: Gwendal Grignou <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Tested-by: Douglas Anderson <[email protected]> Acked-by: Enric Balletbo i Serra <[email protected]> Cc: Alexandru M Stan <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Simon Glass <[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-postgresql.py')
0 files changed, 0 insertions, 0 deletions