[PATCH v2 1/2] drm: bridge: it66121: Extend match support for OF tables

Andy Shevchenko andriy.shevchenko at linux.intel.com
Fri Aug 18 17:08:19 UTC 2023


On Fri, Aug 18, 2023 at 05:54:51PM +0100, Biju Das wrote:
> The driver has OF match table, still it uses ID lookup table for
> retrieving match data. Currently the driver is working on the
> assumption that a I2C device registered via OF will always match a
> legacy I2C device ID. The correct approach is to have an OF device ID
> table using of_device_match_data() if the devices are registered via OF.

> Fixes: 9a9f4a01bdae ("drm: bridge: it66121: Move VID/PID to new it66121_chip_info structure")

What is the problem?
The match works either way with these compatible and i2c IDs.

-- 
With Best Regards,
Andy Shevchenko




More information about the dri-devel mailing list