Skip to content

Commit ecd02b6

Browse files
Yang Yingliangbroonie
authored andcommitted
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: Yang Yingliang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 373c36b commit ecd02b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-dw-mmio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct dw_spi_mscc {
6868
((((val) << 1) | BIT(0)) << ELBA_SPICS_OFFSET(cs))
6969

7070
/*
71-
* The Designware SPI controller (referred to as host in the documentation)
71+
* The Designware SPI controller (referred to as master in the documentation)
7272
* automatically deasserts chip select when the tx fifo is empty. The chip
7373
* selects then needs to be either driven as GPIOs or, for the first 4 using
7474
* 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,
142142
}
143143

144144
/*
145-
* The Designware SPI controller (referred to as host in the
145+
* The Designware SPI controller (referred to as master in the
146146
* documentation) automatically deasserts chip select when the tx fifo
147147
* is empty. The chip selects then needs to be driven by a CS override
148148
* register. enable is an active low signal.

0 commit comments

Comments
 (0)