Skip to content

Commit 20244cb

Browse files
Crescentlovehverkuil
authored andcommitted
media: i2c: change lt6911uxe irq_gpio name to "hpd"
Lt6911uxe is used in IPU6 / x86 platform, worked with an out-of-tree int3472 patch and upstream intel/ipu6 before. It is only used on ACPI platforms till now and there are no devicetree bindings for this driver. The upstream int3472 driver uses "hpd" instead of "readystat" now. this patch updates the irq_gpio name to "hpd" accordingly, so that mere users can now use the upstream version directly without relying on out-of-tree int3472 pin support. The new name "hpd" (Hotplug Detect) aligns with common naming conventions used in other drivers(like adv7604) and documentation. Fixes: e49563c ("media: i2c: add lt6911uxe hdmi bridge driver") Cc: stable@vger.kernel.org Signed-off-by: Dongcheng Yan <dongcheng.yan@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
1 parent 6be2439 commit 20244cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/media/i2c/lt6911uxe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,10 @@ static int lt6911uxe_probe(struct i2c_client *client)
605605
return dev_err_probe(dev, PTR_ERR(lt6911uxe->reset_gpio),
606606
"failed to get reset gpio\n");
607607

608-
lt6911uxe->irq_gpio = devm_gpiod_get(dev, "readystat", GPIOD_IN);
608+
lt6911uxe->irq_gpio = devm_gpiod_get(dev, "hpd", GPIOD_IN);
609609
if (IS_ERR(lt6911uxe->irq_gpio))
610610
return dev_err_probe(dev, PTR_ERR(lt6911uxe->irq_gpio),
611-
"failed to get ready_stat gpio\n");
611+
"failed to get hpd gpio\n");
612612

613613
ret = lt6911uxe_fwnode_parse(lt6911uxe, dev);
614614
if (ret)

0 commit comments

Comments
 (0)