]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 16 Apr 2020 10:14:18 +0000 (12:14 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 23 Apr 2020 15:35:27 +0000 (16:35 +0100)
commit80300a7d5f2d7178335652f41d2e55ba898b4ec1
treee6070aeb9d6efee014e850215a3a9fa28ce200a3
parentf58dcab68aa57e74c12c9bec7ff1bb73e0b35143
spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices

Currently buswidths 2 and 4 are rejected for a device that advertises
Octal capabilities.  Allow these buswidths, just like is done for
buswidth 2 and Quad-capable devices.

Fixes: b12a084c8729ef42 ("spi: spi-mem: add support for octal mode I/O data transfer")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200416101418.14379-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mem.c