From: Philipp Tomsich Date: Sun, 3 Feb 2019 15:17:29 +0000 (+0100) Subject: rockchip: spi: consistently use false/true with rkspi_enable_chip X-Git-Tag: v2019.07-rc2~29^2~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b6101e906f5afbb35d1980965f0633a3ca412616;p=oweals%2Fu-boot.git 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 --- diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c index e7b2df8d02..aaf244d426 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);