diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-04-12 11:41:30 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-12 11:13:36 +0100 |
commit | e6f3f7e4dc76eb8d8a546dc66621a02c5c84f4ac (patch) | |
tree | b8ff75206fc95d2cdbdd66097ced05a7fa66e9bd /tools/perf/scripts/python/stackcollapse.py | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
spi: Add spi_is_bpw_supported()
This let SPI clients check if the controller supports a particular word
width. drivers/gpu/drm/tinydrm/mipi-dbi.c will use this to determine if
the controller supports 16-bit for RGB565 pixels. If it doesn't it will
swap the bytes before transfer on little endian machines.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions