alistair23-linux/drivers/staging
Linus Walleij 453a4b6d8e staging: fbtft: Do not hardcode SPI CS polarity inversion
The current use of the mode flag SPI_CS_HIGH is fragile: it
overwrites anything already assigned by the SPI core.

Assign ^= SPI_CS_HIGH since we might be active high
already, and that is usually the case with GPIOs used
for chip select, even if they are in practice active low.

Add a comment clarifying why ^= SPI_CS_HIGH is the right
choice here.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191204233230.22309-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-10 10:56:53 +01:00
..
android
axis-fifo
board
clocking-wizard
comedi staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error 2019-11-22 11:32:54 +01:00
emxx_udc
exfat staging: exfat: properly support discard in clr_alloc_bitmap() 2019-12-10 10:56:53 +01:00
fbtft staging: fbtft: Do not hardcode SPI CS polarity inversion 2019-12-10 10:56:53 +01:00
fieldbus
fsl-dpaa2 staging: dpaa2-ethsw: ordered workqueue should be per ethsw 2019-11-13 00:10:16 +01:00
fwserial staging: fwserial: Fix Kconfig indentation (seven spaces) 2019-11-22 11:32:54 +01:00
gasket pci-v5.5-changes 2019-12-03 13:58:22 -08:00
gdm724x
goldfish
greybus
gs_fpgaboot
hp
iio
isdn
kpc2000
ks7010
media media: hantro: Set H264 FIELDPIC_FLAG_E flag correctly 2019-11-10 18:00:08 +01:00
most Staging / IIO patches for 5.5-rc1 2019-11-27 10:57:52 -08:00
mt7621-dma
mt7621-dts
mt7621-pci MIPS: ralink: enable PCI support only if driver for mt7621 SoC is selected 2019-11-14 13:09:37 +08:00
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec staging: nvec: Fix Kconfig indentation 2019-11-20 15:20:29 +01:00
octeon staging/octeon: Mark Ethernet driver as BROKEN 2019-12-10 10:03:01 +01:00
octeon-usb
olpc_dcon
pi433 compat_ioctl: remove most of fs/compat_ioctl.c 2019-12-01 13:46:15 -08:00
qlge
ralink-gdma
rtl8188eu staging: rtl*: Remove tasklet callback casts 2019-11-16 14:41:02 +01:00
rtl8192e staging: rtl8192e: remove set but not used variable 'frag' 2019-11-18 12:49:40 +01:00
rtl8192u staging: rtl*: Remove tasklet callback casts 2019-11-16 14:41:02 +01:00
rtl8712 staging: rtl*: Remove tasklet callback casts 2019-11-16 14:41:02 +01:00
rtl8723bs staging: rtl8723bs: remove set but not used variable 'change', 'pos' 2019-11-18 12:49:42 +01:00
rts5208
sm750fb
speakup
unisys
uwb
vc04_services staging: vchiq: Have vchiq_dump_* functions return an error code 2019-11-22 11:40:31 +01:00
vme
vt6655
vt6656
wfx staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
wilc1000 staging: wilc1000: fix illegal memory access in wilc_parse_join_bss_param() 2019-11-11 16:37:59 +01:00
wlan-ng
wusbcore
Kconfig Staging / IIO patches for 5.5-rc1 2019-11-27 10:57:52 -08:00
Makefile Staging / IIO patches for 5.5-rc1 2019-11-27 10:57:52 -08:00