Commit ecd02b6d authored by Yang Yingliang's avatar Yang Yingliang Committed by Mark Brown

spi: dw-mmio: keep old name same as documentation

The documentation has not use the new name(host/target),
so keep the comment words same as documentation used.
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230816093938.1274806-1-yangyingliang@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 373c36bf
...@@ -68,7 +68,7 @@ struct dw_spi_mscc { ...@@ -68,7 +68,7 @@ struct dw_spi_mscc {
((((val) << 1) | BIT(0)) << ELBA_SPICS_OFFSET(cs)) ((((val) << 1) | BIT(0)) << ELBA_SPICS_OFFSET(cs))
/* /*
* The Designware SPI controller (referred to as host in the documentation) * The Designware SPI controller (referred to as master in the documentation)
* automatically deasserts chip select when the tx fifo is empty. The chip * automatically deasserts chip select when the tx fifo is empty. The chip
* selects then needs to be either driven as GPIOs or, for the first 4 using * selects then needs to be either driven as GPIOs or, for the first 4 using
* the SPI boot controller registers. the final chip select is an OR gate * the SPI boot controller registers. the final chip select is an OR gate
...@@ -142,7 +142,7 @@ static int dw_spi_mscc_jaguar2_init(struct platform_device *pdev, ...@@ -142,7 +142,7 @@ static int dw_spi_mscc_jaguar2_init(struct platform_device *pdev,
} }
/* /*
* The Designware SPI controller (referred to as host in the * The Designware SPI controller (referred to as master in the
* documentation) automatically deasserts chip select when the tx fifo * documentation) automatically deasserts chip select when the tx fifo
* is empty. The chip selects then needs to be driven by a CS override * is empty. The chip selects then needs to be driven by a CS override
* register. enable is an active low signal. * register. enable is an active low signal.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment