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>
This commit is contained in:
Philipp Tomsich 2019-02-03 16:17:29 +01:00
parent e647decdd9
commit b6101e906f

View file

@ -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);