ASoC hdmi-codec: fix HDMI jack reporting
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 5 repliesIn review
Changes in v2 from the cover letter
(https://patchwork.kernel.org/patch/11379979/)
- added the 1st patch
- use mutex to protect plugged_cb and codec_dev in 2nd patch
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ASoC: hdmi-codec: set plugged_cb to NULL when component removingsound/ | +10 | 1 reply | |
| 2/2 | drm/mediatek: fix race condition for HDMI jack status reportingdrivers/ | +10 | 4 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | CK Hu |
|---|---|
| 1/2 | |
| 2/2 | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [alsa-devel] [PATCH v2 0/2] ASoC hdmi-codec: fix HDMI jack reporting
With proper unbinding audio components and inserting the HDMI external display, kernel crashes as the following messages:
Unable to handle kernel NULL pointer dereference at virtual address ... [snip] Call trace: plugged_cb+0x1c/0x74 mtk_hdmi_update_plugged_status+0x48/0x6c hdmi_conn_detect+0x1c/0x28 drm_helper_probe_detect+0x110/0x170 drm_helper_probe_single_connector_modes+0xd4/0x608 drm_mode_getconnector+0x1e8/0x418
The 1st patch fixes the crash by notifying hdmi-codec's consumers to not report jack status anymore when component removing.
The 2nd patch fixes race condition in mediatek/mtk_hdmi.c.
Changes from v1:
(https://patchwork.kernel.org/patch/11379979/)
- added the 1st patch
- use mutex to protect plugged_cb and codec_dev in 2nd patch
Tzung-Bi Shih (2):
ASoC: hdmi-codec: set plugged_cb to NULL when component removing drm/mediatek: fix race condition for HDMI jack status reporting
drivers/gpu/drm/mediatek/mtk_hdmi.c | 11 ++++++++++- sound/soc/codecs/hdmi-codec.c | 10 ++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-)
Signature · 7 lines
2.25.0.265.gbab2e86ba0-goog _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel