mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
spi: rockchip: todos spi-rockchip-test.c
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
@@ -177,7 +177,7 @@ static int rockchip_spi_test_probe(struct spi_device *spi)
|
||||
spi_test_data = (struct spi_test_data *)kzalloc(sizeof(struct spi_test_data), GFP_KERNEL);
|
||||
if(!spi_test_data){
|
||||
dev_err(&spi->dev, "ERR: no memory for spi_test_data\n");
|
||||
return -ENOMEM;
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
spi->bits_per_word = 8;
|
||||
|
||||
Reference in New Issue
Block a user