Commit 83fe518a authored by George Shore's avatar George Shore Committed by Grant Likely

spi/dw_spi: enable platform specific chipselect.

The driver core allows for a platform-specific chipselect assert/deassert
function, however the chipselect function in the core doesn't take advantage
of this fact.

This enables the use of a custom function, should it be defined.
Signed-off-by: default avatarGeorge Shore <>
Signed-off-by: default avatarGrant Likely <>
parent c587b6fa
......@@ -172,6 +172,10 @@ static inline void spi_chip_sel(struct dw_spi *dws, u16 cs)
if (cs > dws->num_cs)
if (dws->cs_control)
dw_writel(dws, ser, 1 << cs);
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