mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
spi: rockchip: Remove useless limitation for cs inactive property
The cs inactive interrupt status is effective in both irq and dma transmission processes. Change-Id: I6581e8dd74f70aa1c69b888a4acae7c03351b4fd Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -1034,7 +1034,7 @@ static int rockchip_spi_probe(struct platform_device *pdev)
|
||||
case ROCKCHIP_SPI_VER2_TYPE2:
|
||||
rs->cs_high_supported = true;
|
||||
ctlr->mode_bits |= SPI_CS_HIGH;
|
||||
if (ctlr->can_dma && slave_mode)
|
||||
if (slave_mode)
|
||||
rs->cs_inactive = true;
|
||||
else
|
||||
rs->cs_inactive = false;
|
||||
|
||||
Reference in New Issue
Block a user