]> git.baikalelectronics.ru Git - uboot.git/commit
spi: cadence_qspi: Use spi mode at the point it is needed
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>
Tue, 29 Nov 2016 12:58:31 +0000 (12:58 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 15 Dec 2016 15:57:27 +0000 (16:57 +0100)
commit7fbeb21a62401949b069cb5c96d58e2a50276fba
tree4d0d721aa123f69dfc17d74a09e58f1bb508fdc9
parent1d2668a5534a9ffe6d08840eb3218b5d14b05694
spi: cadence_qspi: Use spi mode at the point it is needed

Instead of extracting mode settings and passing them as separate
args to another function, just pass the SPI mode as an arg.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h
drivers/spi/cadence_qspi_apb.c