diff options
author | Philipp Tomsich | 2019-02-03 16:17:29 +0100 |
---|---|---|
committer | Philipp Tomsich | 2019-05-01 00:00:04 +0200 |
commit | b6101e906f5afbb35d1980965f0633a3ca412616 (patch) | |
tree | 613ec44ff731e8b876deaa5f17b71cd6d0ebe049 /drivers/spi/rk_spi.c | |
parent | e647decdd93c7408741329432f26758fbec04c7a (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>
Diffstat (limited to 'drivers/spi/rk_spi.c')
-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 e7b2df8d02e..aaf244d426a 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -277,7 +277,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); |