From: Kells Ping Date: Thu, 8 May 2025 08:19:04 +0000 (+0800) Subject: media: platform: cros-ec: select ports ab for Dirks X-Git-Tag: v6.16-rc1~145^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a50a258b9ee1049998def0717b1198291dbf1ca;p=thirdparty%2Flinux.git media: platform: cros-ec: select ports ab for Dirks The Google Dirks device used the wrong ports, fix this. Signed-off-by: Kells Ping Signed-off-by: Hans Verkuil [hverkuil: fixed outdated subject and commit log] --- 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 106860d11cef2..419b9a7abcceb 100644 --- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c +++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c @@ -298,6 +298,7 @@ struct cec_dmi_match { static const char *const port_b_conns[] = { "Port B", NULL }; static const char *const port_db_conns[] = { "Port D", "Port B", NULL }; static const char *const port_ba_conns[] = { "Port B", "Port A", NULL }; +static const char *const port_ab_conns[] = { "Port A", "Port B", NULL }; static const char *const port_d_conns[] = { "Port D", NULL }; static const struct cec_dmi_match cec_dmi_match_table[] = { @@ -330,7 +331,7 @@ static const struct cec_dmi_match cec_dmi_match_table[] = { /* Google Dita */ { "Google", "Dita", "0000:00:02.0", port_db_conns }, /* Google Dirks */ - { "Google", "Dirks", "0000:00:02.0", port_db_conns }, + { "Google", "Dirks", "0000:00:02.0", port_ab_conns }, /* Google Moxie */ { "Google", "Moxie", "0000:00:02.0", port_b_conns }, };