diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-04-12 12:41:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-12 13:13:36 +0300 |
commit | e6f3f7e4dc76eb8d8a546dc66621a02c5c84f4ac (patch) | |
tree | b8ff75206fc95d2cdbdd66097ced05a7fa66e9bd /scripts/gdb/linux/utils.py | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-e6f3f7e4dc76eb8d8a546dc66621a02c5c84f4ac.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions