diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-02 18:55:55 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-02 18:55:55 +0200 |
commit | 00813d4dd976cc823fa089840ff2f4a10dd6cd0c (patch) | |
tree | 8f2c74a928c9ea0eceb64809d9039db824ae6663 /target/linux/brcm2708/patches-4.14/950-0202-drm-vc4-Fix-crash-if-we-have-to-unbind-HDMI.patch | |
parent | 19226502bf6393706defe7f049c587b32c9b4f33 (diff) | |
download | upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.tar.gz upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.tar.bz2 upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.zip |
brcm2708: remove linux 4.14 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0202-drm-vc4-Fix-crash-if-we-have-to-unbind-HDMI.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.14/950-0202-drm-vc4-Fix-crash-if-we-have-to-unbind-HDMI.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0202-drm-vc4-Fix-crash-if-we-have-to-unbind-HDMI.patch b/target/linux/brcm2708/patches-4.14/950-0202-drm-vc4-Fix-crash-if-we-have-to-unbind-HDMI.patch deleted file mode 100644 index fa4f93216c..0000000000 --- a/target/linux/brcm2708/patches-4.14/950-0202-drm-vc4-Fix-crash-if-we-have-to-unbind-HDMI.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 1254dfa5b20336d10e9cf917cdf94c63b4cc44e1 Mon Sep 17 00:00:00 2001 -From: Eric Anholt <eric@anholt.net> -Date: Mon, 13 Nov 2017 14:23:48 -0800 -Subject: [PATCH 202/454] drm/vc4: Fix crash if we have to unbind HDMI. - -We need the card to unregister before the codec that the card -references. - -Signed-off-by: Eric Anholt <eric@anholt.net> ---- - drivers/gpu/drm/vc4/vc4_hdmi.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - ---- a/drivers/gpu/drm/vc4/vc4_hdmi.c -+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -1130,7 +1130,7 @@ static int vc4_hdmi_audio_init(struct vc - * snd_soc_card_get_drvdata() if needed. - */ - snd_soc_card_set_drvdata(card, hdmi); -- ret = devm_snd_soc_register_card(dev, card); -+ ret = snd_soc_register_card(card); - if (ret) { - dev_err(dev, "Could not register sound card: %d\n", ret); - goto unregister_codec; -@@ -1147,13 +1147,16 @@ unregister_codec: - static void vc4_hdmi_audio_cleanup(struct vc4_hdmi *hdmi) - { - struct device *dev = &hdmi->pdev->dev; -+ struct snd_soc_card *card = &hdmi->audio.card; - - /* - * If drvdata is not set this means the audio card was not - * registered, just skip codec unregistration in this case. - */ -- if (dev_get_drvdata(dev)) -+ if (dev_get_drvdata(dev)) { -+ snd_soc_unregister_card(card); - snd_soc_unregister_codec(dev); -+ } - } - - #ifdef CONFIG_DRM_VC4_HDMI_CEC |