diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-09-04 19:01:23 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-09-04 19:02:48 +0200 |
commit | 662394fb30fdbcc89ec387918714aebee6868a9f (patch) | |
tree | c308c5f1a650abf9d9ccbb2a1747469a0d8570c0 /target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch | |
parent | 99a5e285887c4a10aaf06d8e01fae0707995da00 (diff) | |
download | upstream-662394fb30fdbcc89ec387918714aebee6868a9f.tar.gz upstream-662394fb30fdbcc89ec387918714aebee6868a9f.tar.bz2 upstream-662394fb30fdbcc89ec387918714aebee6868a9f.zip |
brcm2708: update to latest patches from RPi foundation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch b/target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch deleted file mode 100644 index 8fa6b31a8f..0000000000 --- a/target/linux/brcm2708/patches-4.19/950-0447-staging-bcm2835-audio-Drop-useless-NULL-check.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 59aebb4b935a7f4a7aaf17e91746190ce50460aa Mon Sep 17 00:00:00 2001 -From: Takashi Iwai <tiwai@suse.de> -Date: Tue, 4 Sep 2018 17:58:42 +0200 -Subject: [PATCH 447/773] staging: bcm2835-audio: Drop useless NULL check - -commit 8bcf9f252c29c2d5bcce3db605c0ebf1ef230f9c upstream. - -alsa_stream->chip can be never NULL. - -Signed-off-by: Takashi Iwai <tiwai@suse.de> -Tested-by: Stefan Wahren <stefan.wahren@i2se.com> -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ---- - drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - ---- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c -+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c -@@ -188,8 +188,7 @@ static int snd_bcm2835_playback_close(st - alsa_stream->buffer_size = 0; - - bcm2835_audio_close(alsa_stream); -- if (alsa_stream->chip) -- alsa_stream->chip->alsa_stream[alsa_stream->idx] = NULL; -+ alsa_stream->chip->alsa_stream[alsa_stream->idx] = NULL; - /* - * Do not free up alsa_stream here, it will be freed up by - * runtime->private_free callback we registered in *_open above |