From e6cf974983236ba66de71c2c020e30c0a8745841 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 16 Oct 2022 08:57:50 +0200 Subject: [PATCH] 5.10-stable patches added patches: alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch alsa-oss-fix-potential-deadlock-at-unregistration.patch alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch alsa-usb-audio-fix-null-dererence-at-error-path.patch alsa-usb-audio-fix-potential-memory-leaks.patch mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch --- ...ference-ssid-to-support-headset-keys.patch | 34 +++++++++++ ...tek-add-quirk-for-asus-gv601r-laptop.patch | 34 +++++++++++ ...k-correct-pin-configs-for-asus-g533z.patch | 46 ++++++++++++++ ...-alc289_fixup_dual_spk-for-dell-5530.patch | 34 +++++++++++ ...potential-deadlock-at-unregistration.patch | 61 +++++++++++++++++++ ...p-register_mutex-in-snd_rawmidi_free.patch | 38 ++++++++++++ ...dio-fix-null-dererence-at-error-path.patch | 43 +++++++++++++ ...usb-audio-fix-potential-memory-leaks.patch | 45 ++++++++++++++ ...d-atmel-unmap-streaming-dma-mappings.patch | 39 ++++++++++++ queue-5.10/series | 9 +++ 10 files changed, 383 insertions(+) create mode 100644 queue-5.10/alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch create mode 100644 queue-5.10/alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch create mode 100644 queue-5.10/alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch create mode 100644 queue-5.10/alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch create mode 100644 queue-5.10/alsa-oss-fix-potential-deadlock-at-unregistration.patch create mode 100644 queue-5.10/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch create mode 100644 queue-5.10/alsa-usb-audio-fix-null-dererence-at-error-path.patch create mode 100644 queue-5.10/alsa-usb-audio-fix-potential-memory-leaks.patch create mode 100644 queue-5.10/mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch diff --git a/queue-5.10/alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch b/queue-5.10/alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch new file mode 100644 index 00000000000..c50d6b84478 --- /dev/null +++ b/queue-5.10/alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch @@ -0,0 +1,34 @@ +From 4f2e56a59b9947b3e698d3cabcb858765c12b1e8 Mon Sep 17 00:00:00 2001 +From: Saranya Gopal +Date: Tue, 11 Oct 2022 10:19:16 +0530 +Subject: ALSA: hda/realtek: Add Intel Reference SSID to support headset keys + +From: Saranya Gopal + +commit 4f2e56a59b9947b3e698d3cabcb858765c12b1e8 upstream. + +This patch fixes the issue with 3.5mm headset keys +on RPL-P platform. + +[ Rearranged the entry in SSID order by tiwai ] + +Signed-off-by: Saranya Gopal +Signed-off-by: Ninad Naik +Cc: +Link: https://lore.kernel.org/r/20221011044916.2278867-1-saranya.gopal@intel.com +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -8986,6 +8986,7 @@ static const struct snd_pci_quirk alc269 + SND_PCI_QUIRK(0x10ec, 0x10f2, "Intel Reference board", ALC700_FIXUP_INTEL_REFERENCE), + SND_PCI_QUIRK(0x10ec, 0x118c, "Medion EE4254 MD62100", ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE), + SND_PCI_QUIRK(0x10ec, 0x1230, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK), ++ SND_PCI_QUIRK(0x10ec, 0x124c, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK), + SND_PCI_QUIRK(0x10ec, 0x1252, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK), + SND_PCI_QUIRK(0x10ec, 0x1254, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK), + SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_HEADSET_MODE), diff --git a/queue-5.10/alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch b/queue-5.10/alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch new file mode 100644 index 00000000000..39a2cebfa57 --- /dev/null +++ b/queue-5.10/alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch @@ -0,0 +1,34 @@ +From 2ea8e1297801f7b0220ebf6ae61a5b74ca83981e Mon Sep 17 00:00:00 2001 +From: "Luke D. Jones" +Date: Mon, 10 Oct 2022 20:03:47 +1300 +Subject: ALSA: hda/realtek: Add quirk for ASUS GV601R laptop + +From: Luke D. Jones + +commit 2ea8e1297801f7b0220ebf6ae61a5b74ca83981e upstream. + +The ASUS ROG X16 (GV601R) series laptop has the same node-to-DAC pairs +as early models and the G14, this includes bass speakers which are by +default mapped incorrectly to the 0x06 node. + +Add a quirk to use the same DAC pairs as the G14. + +Signed-off-by: Luke D. Jones +Cc: +Link: https://lore.kernel.org/r/20221010070347.36883-1-luke@ljones.dev +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -8964,6 +8964,7 @@ static const struct snd_pci_quirk alc269 + SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401), + SND_PCI_QUIRK(0x1043, 0x1c52, "ASUS Zephyrus G15 2022", ALC289_FIXUP_ASUS_GA401), + SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401), ++ SND_PCI_QUIRK(0x1043, 0x1f92, "ASUS ROG Flow X16", ALC289_FIXUP_ASUS_GA401), + SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2), + SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC), + SND_PCI_QUIRK(0x1043, 0x834a, "ASUS S101", ALC269_FIXUP_STEREO_DMIC), diff --git a/queue-5.10/alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch b/queue-5.10/alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch new file mode 100644 index 00000000000..1d906baa789 --- /dev/null +++ b/queue-5.10/alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch @@ -0,0 +1,46 @@ +From 66ba7c88507344dee68ad1acbdb630473ab36114 Mon Sep 17 00:00:00 2001 +From: "Luke D. Jones" +Date: Mon, 10 Oct 2022 19:57:02 +1300 +Subject: ALSA: hda/realtek: Correct pin configs for ASUS G533Z + +From: Luke D. Jones + +commit 66ba7c88507344dee68ad1acbdb630473ab36114 upstream. + +The initial fix for ASUS G533Z was based on faulty information. This +fixes the pincfg to values that have been verified with no existing +module options or other hacks enabled. + +Enables headphone jack, and 5.1 surround. + +[ corrected the indent level by tiwai ] + +Fixes: bc2c23549ccd ("ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack") +Signed-off-by: Luke D. Jones +Cc: +Link: https://lore.kernel.org/r/20221010065702.35190-1-luke@ljones.dev +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -8164,11 +8164,13 @@ static const struct hda_fixup alc269_fix + [ALC285_FIXUP_ASUS_G533Z_PINS] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { +- { 0x14, 0x90170120 }, ++ { 0x14, 0x90170152 }, /* Speaker Surround Playback Switch */ ++ { 0x19, 0x03a19020 }, /* Mic Boost Volume */ ++ { 0x1a, 0x03a11c30 }, /* Mic Boost Volume */ ++ { 0x1e, 0x90170151 }, /* Rear jack, IN OUT EAPD Detect */ ++ { 0x21, 0x03211420 }, + { } + }, +- .chained = true, +- .chain_id = ALC294_FIXUP_ASUS_G513_PINS, + }, + [ALC294_FIXUP_ASUS_COEF_1B] = { + .type = HDA_FIXUP_VERBS, diff --git a/queue-5.10/alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch b/queue-5.10/alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch new file mode 100644 index 00000000000..90bc5e3e07d --- /dev/null +++ b/queue-5.10/alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch @@ -0,0 +1,34 @@ +From 417b9c51f59734d852e47252476fadc293ad994a Mon Sep 17 00:00:00 2001 +From: Callum Osmotherly +Date: Wed, 5 Oct 2022 17:44:16 +1030 +Subject: ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530 + +From: Callum Osmotherly + +commit 417b9c51f59734d852e47252476fadc293ad994a upstream. + +After some feedback from users with Dell Precision 5530 machines, this +patch reverts the previous change to add ALC289_FIXUP_DUAL_SPK. +While it improved the speaker output quality, it caused the headphone +jack to have an audible "pop" sound when power saving was toggled. + +Fixes: 1885ff13d4c4 ("ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop") +Signed-off-by: Callum Osmotherly +Cc: +Link: https://lore.kernel.org/r/Yz0uyN1zwZhnyRD6@piranha +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/pci/hda/patch_realtek.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -8774,7 +8774,6 @@ static const struct snd_pci_quirk alc269 + SND_PCI_QUIRK(0x1028, 0x0871, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC), + SND_PCI_QUIRK(0x1028, 0x0872, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC), + SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB), +- SND_PCI_QUIRK(0x1028, 0x087d, "Dell Precision 5530", ALC289_FIXUP_DUAL_SPK), + SND_PCI_QUIRK(0x1028, 0x08ad, "Dell WYSE AIO", ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x08ae, "Dell WYSE NB", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1028, 0x0935, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB), diff --git a/queue-5.10/alsa-oss-fix-potential-deadlock-at-unregistration.patch b/queue-5.10/alsa-oss-fix-potential-deadlock-at-unregistration.patch new file mode 100644 index 00000000000..0824046efbe --- /dev/null +++ b/queue-5.10/alsa-oss-fix-potential-deadlock-at-unregistration.patch @@ -0,0 +1,61 @@ +From 97d917879d7f92df09c3f21fd54609a8bcd654b2 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Tue, 11 Oct 2022 09:01:47 +0200 +Subject: ALSA: oss: Fix potential deadlock at unregistration + +From: Takashi Iwai + +commit 97d917879d7f92df09c3f21fd54609a8bcd654b2 upstream. + +We took sound_oss_mutex around the calls of unregister_sound_special() +at unregistering OSS devices. This may, however, lead to a deadlock, +because we manage the card release via the card's device object, and +the release may happen at unregister_sound_special() call -- which +will take sound_oss_mutex again in turn. + +Although the deadlock might be fixed by relaxing the rawmidi mutex in +the previous commit, it's safer to move unregister_sound_special() +calls themselves out of the sound_oss_mutex, too. The call is +race-safe as the function has a spinlock protection by itself. + +Link: https://lore.kernel.org/r/CAB7eexJP7w1B0mVgDF0dQ+gWor7UdkiwPczmL7pn91xx8xpzOA@mail.gmail.com +Cc: +Link: https://lore.kernel.org/r/20221011070147.7611-2-tiwai@suse.de +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/core/sound_oss.c | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +--- a/sound/core/sound_oss.c ++++ b/sound/core/sound_oss.c +@@ -162,7 +162,6 @@ int snd_unregister_oss_device(int type, + mutex_unlock(&sound_oss_mutex); + return -ENOENT; + } +- unregister_sound_special(minor); + switch (SNDRV_MINOR_OSS_DEVICE(minor)) { + case SNDRV_MINOR_OSS_PCM: + track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_AUDIO); +@@ -174,12 +173,18 @@ int snd_unregister_oss_device(int type, + track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI1); + break; + } +- if (track2 >= 0) { +- unregister_sound_special(track2); ++ if (track2 >= 0) + snd_oss_minors[track2] = NULL; +- } + snd_oss_minors[minor] = NULL; + mutex_unlock(&sound_oss_mutex); ++ ++ /* call unregister_sound_special() outside sound_oss_mutex; ++ * otherwise may deadlock, as it can trigger the release of a card ++ */ ++ unregister_sound_special(minor); ++ if (track2 >= 0) ++ unregister_sound_special(track2); ++ + kfree(mptr); + return 0; + } diff --git a/queue-5.10/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch b/queue-5.10/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch new file mode 100644 index 00000000000..2f77dbb3150 --- /dev/null +++ b/queue-5.10/alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch @@ -0,0 +1,38 @@ +From a70aef7982b012e86dfd39fbb235e76a21ae778a Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Tue, 11 Oct 2022 09:01:46 +0200 +Subject: ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free() + +From: Takashi Iwai + +commit a70aef7982b012e86dfd39fbb235e76a21ae778a upstream. + +The register_mutex taken around the dev_unregister callback call in +snd_rawmidi_free() may potentially lead to a mutex deadlock, when OSS +emulation and a hot unplug are involved. + +Since the mutex doesn't protect the actual race (as the registration +itself is already protected by another means), let's drop it. + +Link: https://lore.kernel.org/r/CAB7eexJP7w1B0mVgDF0dQ+gWor7UdkiwPczmL7pn91xx8xpzOA@mail.gmail.com +Cc: +Link: https://lore.kernel.org/r/20221011070147.7611-1-tiwai@suse.de +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/core/rawmidi.c | 2 -- + 1 file changed, 2 deletions(-) + +--- a/sound/core/rawmidi.c ++++ b/sound/core/rawmidi.c +@@ -1736,10 +1736,8 @@ static int snd_rawmidi_free(struct snd_r + + snd_info_free_entry(rmidi->proc_entry); + rmidi->proc_entry = NULL; +- mutex_lock(®ister_mutex); + if (rmidi->ops && rmidi->ops->dev_unregister) + rmidi->ops->dev_unregister(rmidi); +- mutex_unlock(®ister_mutex); + + snd_rawmidi_free_substreams(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]); + snd_rawmidi_free_substreams(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]); diff --git a/queue-5.10/alsa-usb-audio-fix-null-dererence-at-error-path.patch b/queue-5.10/alsa-usb-audio-fix-null-dererence-at-error-path.patch new file mode 100644 index 00000000000..7e49192854a --- /dev/null +++ b/queue-5.10/alsa-usb-audio-fix-null-dererence-at-error-path.patch @@ -0,0 +1,43 @@ +From 568be8aaf8a535f79c4db76cabe17b035aa2584d Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Fri, 30 Sep 2022 12:01:29 +0200 +Subject: ALSA: usb-audio: Fix NULL dererence at error path + +From: Takashi Iwai + +commit 568be8aaf8a535f79c4db76cabe17b035aa2584d upstream. + +At an error path to release URB buffers and contexts, the driver might +hit a NULL dererence for u->urb pointer, when u->buffer_size has been +already set but the actual URB allocation failed. + +Fix it by adding the NULL check of urb. Also, make sure that +buffer_size is cleared after the error path or the close. + +Cc: +Reported-by: Sabri N. Ferreiro +Link: https://lore.kernel.org/r/CAKG+3NRjTey+fFfUEGwuxL-pi_=T4cUskYG9OzpzHytF+tzYng@mail.gmail.com +Link: https://lore.kernel.org/r/20220930100129.19445-1-tiwai@suse.de +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/usb/endpoint.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/sound/usb/endpoint.c ++++ b/sound/usb/endpoint.c +@@ -73,12 +73,13 @@ static inline unsigned get_usb_high_spee + */ + static void release_urb_ctx(struct snd_urb_ctx *u) + { +- if (u->buffer_size) ++ if (u->urb && u->buffer_size) + usb_free_coherent(u->ep->chip->dev, u->buffer_size, + u->urb->transfer_buffer, + u->urb->transfer_dma); + usb_free_urb(u->urb); + u->urb = NULL; ++ u->buffer_size = 0; + } + + static const char *usb_error_string(int err) diff --git a/queue-5.10/alsa-usb-audio-fix-potential-memory-leaks.patch b/queue-5.10/alsa-usb-audio-fix-potential-memory-leaks.patch new file mode 100644 index 00000000000..e4d8238a1da --- /dev/null +++ b/queue-5.10/alsa-usb-audio-fix-potential-memory-leaks.patch @@ -0,0 +1,45 @@ +From 6382da0828995af87aa8b8bef28cc61aceb4aff3 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Fri, 30 Sep 2022 12:01:51 +0200 +Subject: ALSA: usb-audio: Fix potential memory leaks + +From: Takashi Iwai + +commit 6382da0828995af87aa8b8bef28cc61aceb4aff3 upstream. + +When the driver hits -ENOMEM at allocating a URB or a buffer, it +aborts and goes to the error path that releases the all previously +allocated resources. However, when -ENOMEM hits at the middle of the +sync EP URB allocation loop, the partially allocated URBs might be +left without released, because ep->nurbs is still zero at that point. + +Fix it by setting ep->nurbs at first, so that the error handler loops +over the full URB list. + +Cc: +Link: https://lore.kernel.org/r/20220930100151.19461-1-tiwai@suse.de +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + sound/usb/endpoint.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +--- a/sound/usb/endpoint.c ++++ b/sound/usb/endpoint.c +@@ -998,6 +998,7 @@ static int sync_ep_set_params(struct snd + if (!ep->syncbuf) + return -ENOMEM; + ++ ep->nurbs = SYNC_URBS; + for (i = 0; i < SYNC_URBS; i++) { + struct snd_urb_ctx *u = &ep->urb[i]; + u->index = i; +@@ -1017,8 +1018,6 @@ static int sync_ep_set_params(struct snd + u->urb->complete = snd_complete_urb; + } + +- ep->nurbs = SYNC_URBS; +- + return 0; + + out_of_memory: diff --git a/queue-5.10/mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch b/queue-5.10/mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch new file mode 100644 index 00000000000..be4ca4316f5 --- /dev/null +++ b/queue-5.10/mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch @@ -0,0 +1,39 @@ +From 1161703c9bd664da5e3b2eb1a3bb40c210e026ea Mon Sep 17 00:00:00 2001 +From: Tudor Ambarus +Date: Thu, 28 Jul 2022 10:40:14 +0300 +Subject: mtd: rawnand: atmel: Unmap streaming DMA mappings + +From: Tudor Ambarus + +commit 1161703c9bd664da5e3b2eb1a3bb40c210e026ea upstream. + +Every dma_map_single() call should have its dma_unmap_single() counterpart, +because the DMA address space is a shared resource and one could render the +machine unusable by consuming all DMA addresses. + +Link: https://lore.kernel.org/lkml/13c6c9a2-6db5-c3bf-349b-4c127ad3496a@axentia.se/ +Cc: stable@vger.kernel.org +Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") +Signed-off-by: Tudor Ambarus +Acked-by: Alexander Dahl +Reported-by: Peter Rosin +Tested-by: Alexander Dahl +Reviewed-by: Boris Brezillon +Tested-by: Peter Rosin +Signed-off-by: Miquel Raynal +Link: https://lore.kernel.org/linux-mtd/20220728074014.145406-1-tudor.ambarus@microchip.com +Signed-off-by: Greg Kroah-Hartman +--- + drivers/mtd/nand/raw/atmel/nand-controller.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mtd/nand/raw/atmel/nand-controller.c ++++ b/drivers/mtd/nand/raw/atmel/nand-controller.c +@@ -405,6 +405,7 @@ static int atmel_nand_dma_transfer(struc + + dma_async_issue_pending(nc->dmac); + wait_for_completion(&finished); ++ dma_unmap_single(nc->dev, buf_dma, len, dir); + + return 0; + diff --git a/queue-5.10/series b/queue-5.10/series index e69de29bb2d..93d5a44acd9 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -0,0 +1,9 @@ +alsa-oss-fix-potential-deadlock-at-unregistration.patch +alsa-rawmidi-drop-register_mutex-in-snd_rawmidi_free.patch +alsa-usb-audio-fix-potential-memory-leaks.patch +alsa-usb-audio-fix-null-dererence-at-error-path.patch +alsa-hda-realtek-remove-alc289_fixup_dual_spk-for-dell-5530.patch +alsa-hda-realtek-correct-pin-configs-for-asus-g533z.patch +alsa-hda-realtek-add-quirk-for-asus-gv601r-laptop.patch +alsa-hda-realtek-add-intel-reference-ssid-to-support-headset-keys.patch +mtd-rawnand-atmel-unmap-streaming-dma-mappings.patch -- 2.47.3