| c3a78691 | 24-Apr-2026 |
Myeonghun Pak <mhun512@gmail.com> |
media: cec: seco: unregister adapter on IR probe failure
If secocec_ir_probe() fails after cec_register_adapter() succeeds, probe returns an error and the driver remove callback is not called. The c
media: cec: seco: unregister adapter on IR probe failure
If secocec_ir_probe() fails after cec_register_adapter() succeeds, probe returns an error and the driver remove callback is not called. The current unwind path unregisters the notifier and then falls through to cec_delete_adapter(), which violates the CEC adapter lifetime rules after a successful registration.
Add a registered-adapter unwind path that unregisters the notifier and the adapter instead.
Fixes: daef95769b3a ("media: seco-cec: add Consumer-IR support") Cc: stable@vger.kernel.org Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
show more ...
|
| 560d29f4 | 20-Apr-2026 |
Kells Ping <kells.ping@quanta.corp-partner.google.com> |
media: platform: cros-ec: Add Dirkson to the match table
The Google Dirkson device uses the same approach as the Google Brask which enables the HDMI CEC via the cros-ec-cec driver.
Signed-off-by:
media: platform: cros-ec: Add Dirkson to the match table
The Google Dirkson device uses the same approach as the Google Brask which enables the HDMI CEC via the cros-ec-cec driver.
Signed-off-by: Kells Ping <kells.ping@quanta.corp-partner.google.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
show more ...
|
| 5701c792 | 30-Jun-2025 |
Hans Verkuil <hverkuil@xs4all.nl> |
media: cec: cec-gpio: reading hpd/5v is allowed to sleep
Reading the hpd or 5v gpios is something that can sleep, so rework the code to allow this.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
media: cec: cec-gpio: reading hpd/5v is allowed to sleep
Reading the hpd or 5v gpios is something that can sleep, so rework the code to allow this.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
show more ...
|
| cd5c11d5 | 05-Oct-2023 |
Ken Lin <ken_lin5@hotmail.com> |
media: platform: cros-ec: Add Taranza to the match table
Taranza has two HDMI ports which support CEC: Port D is EC port 0 Port B is EC port 1
Signed-off-by: Ken Lin <ken_lin5@hotmail.com> Signed-o
media: platform: cros-ec: Add Taranza to the match table
Taranza has two HDMI ports which support CEC: Port D is EC port 0 Port B is EC port 1
Signed-off-by: Ken Lin <ken_lin5@hotmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
show more ...
|
| beeefd75 | 18-Aug-2023 |
rasheed.hsueh <rasheed.hsueh@lcfc.corp-partner.google.com> |
media: platform: cros-ec: Add Boxy to the match table
The Google Boxy device uses the same approach as the Google Brask which enables the HDMI CEC via the cros-ec-cec driver.
Signed-off-by: rasheed
media: platform: cros-ec: Add Boxy to the match table
The Google Boxy device uses the same approach as the Google Brask which enables the HDMI CEC via the cros-ec-cec driver.
Signed-off-by: rasheed.hsueh <rasheed.hsueh@lcfc.corp-partner.google.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: updated to the new multi-port datastructures]
show more ...
|
| 5bc2de5f | 16-Aug-2023 |
Stefan Adolfsson <sadolfsson@chromium.org> |
media: cros-ec-cec: Add Constitution to the match table
Constitution has two HDMI ports which support CEC: Port B is EC port 0 Port A is EC port 1
This patch depends on "media: cros-ec-cec:
media: cros-ec-cec: Add Constitution to the match table
Constitution has two HDMI ports which support CEC: Port B is EC port 0 Port A is EC port 1
This patch depends on "media: cros-ec-cec: Add Dibbi to the match table".
Signed-off-by: Stefan Adolfsson <sadolfsson@chromium.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: updated to the new multi-port datastructures]
show more ...
|