summaryrefslogtreecommitdiff
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2015-11-09 07:14:51 +0300
committerMark Brown <broonie@kernel.org>2015-11-16 20:44:57 +0300
commit98c8dccf2b2771fb622d449b2ec1604fc5d260e5 (patch)
tree8ec9304fd36f1c224f3e0cf5677997cd55ca3581 /drivers/pci/probe.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-98c8dccf2b2771fb622d449b2ec1604fc5d260e5.tar.xz
spi: mediatek: single device does not require cs_gpios
When only one device is present, it is not necessary to specify cs_gpios, as the CS line can be controlled by the hardware module. Without this patch, older device tree bindings used before 37457607 "spi: mediatek: mt8173 spi multiple devices support" would cause a panic on boot. This fixes the crash, and re-introduces backward compatibility. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Acked-by: Leilk Liu <leilk.liu@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions