diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2019-01-03 01:44:22 +0100 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-04-29 12:09:39 +0200 |
commit | fcbe813ea1278756e7cceba2b2891df545b16e05 (patch) | |
tree | 83ffa113f935462c2ab97000930987cc53c0aaae | |
parent | 2641424cc44bd11184f103490e8166ed5479d956 (diff) |
rockchip: spi: consistently use false/true with rkspi_enable_chip
While rkspi_enable_chip is called with true/false everywhere else in
the file, one call site uses '0' to denot 'false'.
This change this one parameter to 'false' and effects consistency.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r-- | drivers/spi/rk_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index c0f4c5816a..5f8f915e02 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -272,7 +272,7 @@ static int rockchip_spi_claim_bus(struct udevice *dev) uint ctrlr0; /* Disable the SPI hardware */ - rkspi_enable_chip(regs, 0); + rkspi_enable_chip(regs, false); if (priv->speed_hz != priv->last_speed_hz) rkspi_set_clk(priv, priv->speed_hz); |