summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2019-04-12 12:41:30 +0300
committerMark Brown <broonie@kernel.org>2019-04-12 13:13:36 +0300
commite6f3f7e4dc76eb8d8a546dc66621a02c5c84f4ac (patch)
treeb8ff75206fc95d2cdbdd66097ced05a7fa66e9bd /scripts/gdb/linux/utils.py
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
downloadlinux-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