Re: [PATCH] media: platform: Add moli to the match table

From: Hans Verkuil
Date: Wed May 18 2022 - 06:50:06 EST


Always mention the driver in the Subject. The current subject suggests
that this patch makes media/platform-wide changes.

Please post a v2.

Regards,

Hans

On 5/11/22 10:54, Scott Chao wrote:
> The Google Moli device uses the same approach as the Google Brask
> which enables the HDMI CEC via the cros-ec-cec driver.
>
> Signed-off-by: Scott Chao <scott_chao@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> index 8c8d8fc5e63e..25dc7309beab 100644
> --- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> +++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> @@ -217,6 +217,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
> { "Google", "Fizz", "0000:00:02.0", "Port B" },
> /* Google Brask */
> { "Google", "Brask", "0000:00:02.0", "Port B" },
> + /* Google Moli */
> + { "Google", "Moli", "0000:00:02.0", "Port B" },
> };
>
> static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,