@@ -83,6 +83,7 @@ add v3.17_fix_clamp.patch
add v3.16_netdev.patch
add v3.16_wait_on_bit.patch
add v3.16_void_gpiochip_remove.patch
+add v3.16_gpio-ir-tx.patch
[3.13.255]
add v3.13_ddbridge_pcimsi.patch
new file mode 100644
@@ -0,0 +1,25 @@
+diff --git a/drivers/media/rc/gpio-ir-tx.c b/drivers/media/rc/gpio-ir-tx.c
+index cd476ca..f48aba2 100644
+--- a/drivers/media/rc/gpio-ir-tx.c
++++ b/drivers/media/rc/gpio-ir-tx.c
+@@ -136,13 +136,19 @@ static int gpio_ir_tx_probe(struct platform_device *pdev)
+ if (!rcdev)
+ return -ENOMEM;
+
+- gpio_ir->gpio = devm_gpiod_get(&pdev->dev, NULL, GPIOD_OUT_LOW);
++ gpio_ir->gpio = devm_gpiod_get(&pdev->dev, NULL);
+ if (IS_ERR(gpio_ir->gpio)) {
+ if (PTR_ERR(gpio_ir->gpio) != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "Failed to get gpio (%ld)\n",
+ PTR_ERR(gpio_ir->gpio));
+ return PTR_ERR(gpio_ir->gpio);
+ }
++ rc = gpiod_direction_output(gpio_ir->gpio, 0);
++ if (!rc) {
++ dev_err(&pdev->dev, "Failed to set output direction(%d)\n", rc);
++ gpiod_put(gpio_ir->gpio);
++ return rc;
++ }
+
+ rcdev->priv = gpio_ir;
+ rcdev->driver_name = DRIVER_NAME;
@@ -97,6 +97,7 @@ VIDEO_COBALT
[3.13.0]
# needs gpio/consumer.h
RADIO_SI4713
+IR_GPIO_TX
[3.12.0]
# BIN_ATTR_RW was changed