drivers/fsi: Set enable line to '1' on unbind
PATCH 1/1 drivers/fsi: Set enable line to '1' on unbind
Configure I/O for non OpenFSI users of the FSI enable line by setting value to to '1' on unbind prior to releasing use of pin.
Signed-off-by Christopher Bostic <[email protected]>
--- drivers/fsi/fsi-master-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fsi/fsi-master-gpio.c +1 -1
@@ -568,7 +568,7 @@ static int fsi_master_gpio_remove(struct platform_device *pdev)devm_gpiod_put (&pdev->dev, master->gpio_trans); }if (master->gpio_enable) { -gpiod_set_value (master->gpio_enable,0 ); +gpiod_set_value (master->gpio_enable,1 );devm_gpiod_put (&pdev->dev, master->gpio_enable); }if (master->gpio_mux) {
Signature · 1 line
1.8.2.2
Joel Stanley
AppliedQuoted 4 lines · Christopher Bostic
Configure I/O for non OpenFSI users of the FSI enable line by setting value to to '1' on unbind prior to releasing use of pin.
Signed-off-by Christopher Bostic <[email protected]>
Applied to dev-4.7.
Cheers,
Joel
Quoted 20 lines
--- drivers/fsi/fsi-master-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/fsi/fsi-master-gpio.c +1
-2@@ -568,7 +568,7 @@ static int fsi_master_gpio_remove(struct platform_device *pdev)devm_gpiod_put (&pdev->dev, master->gpio_trans); }if (master->gpio_enable) { -gpiod_set_value (master->gpio_enable,0 ); +gpiod_set_value (master->gpio_enable,1 );devm_gpiod_put (&pdev->dev, master->gpio_enable); }if (master->gpio_mux) { --1.8.2.2