Skip to content

Commit 1c44a17

Browse files
Jon Linrkhuangtao
authored andcommitted
spi: rockchip: Support SPI_CS_HIGH
Only support the case cs-gpio Change-Id: I899bce8d9418ee99c784726bb56534aaed27c00b Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1 parent 485e4a4 commit 1c44a17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/spi/spi-rockchip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ static int rockchip_spi_probe(struct platform_device *pdev)
804804

805805
master->auto_runtime_pm = true;
806806
master->bus_num = pdev->id;
807-
master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST;
807+
master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST | SPI_CS_HIGH;
808808
master->num_chipselect = 2;
809809
master->dev.of_node = pdev->dev.of_node;
810810
master->bits_per_word_mask = SPI_BPW_MASK(16) | SPI_BPW_MASK(8);

0 commit comments

Comments
 (0)