]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: i2c: change lt6911uxe irq_gpio name to "hpd"
authorDongcheng Yan <dongcheng.yan@intel.com>
Fri, 25 Apr 2025 10:43:31 +0000 (18:43 +0800)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 6 May 2025 11:06:29 +0000 (13:06 +0200)
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: e49563c3be09d4 ("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>
drivers/media/i2c/lt6911uxe.c

index c5b40bb58a373d7cf52361704e01672b7e261093..24857d683fcfcfcebef91db5bf77b8151ab1ac78 100644 (file)
@@ -605,10 +605,10 @@ static int lt6911uxe_probe(struct i2c_client *client)
                return dev_err_probe(dev, PTR_ERR(lt6911uxe->reset_gpio),
                                     "failed to get reset gpio\n");
 
-       lt6911uxe->irq_gpio = devm_gpiod_get(dev, "readystat", GPIOD_IN);
+       lt6911uxe->irq_gpio = devm_gpiod_get(dev, "hpd", GPIOD_IN);
        if (IS_ERR(lt6911uxe->irq_gpio))
                return dev_err_probe(dev, PTR_ERR(lt6911uxe->irq_gpio),
-                                    "failed to get ready_stat gpio\n");
+                                    "failed to get hpd gpio\n");
 
        ret = lt6911uxe_fwnode_parse(lt6911uxe, dev);
        if (ret)