Merge branch 'spi-fix-s3c64xx' into spi-next
This commit is contained in:
commit
fad8f9c0b2
@ -1112,7 +1112,7 @@ static int s3c64xx_spi_parse_dt_gpio(struct s3c64xx_spi_driver_data *sdd)
|
|||||||
dev_err(dev, "invalid gpio[%d]: %d\n", idx, gpio);
|
dev_err(dev, "invalid gpio[%d]: %d\n", idx, gpio);
|
||||||
goto free_gpio;
|
goto free_gpio;
|
||||||
}
|
}
|
||||||
|
sdd->gpios[idx] = gpio;
|
||||||
ret = gpio_request(gpio, "spi-bus");
|
ret = gpio_request(gpio, "spi-bus");
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "gpio [%d] request failed: %d\n",
|
dev_err(dev, "gpio [%d] request failed: %d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user