]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.6-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Apr 2020 09:05:05 +0000 (11:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Apr 2020 09:05:05 +0000 (11:05 +0200)
added patches:
soc-mediatek-knows_txdone-needs-to-be-set-in-mediatek-cmdq-helper.patch

queue-5.6/series
queue-5.6/soc-mediatek-knows_txdone-needs-to-be-set-in-mediatek-cmdq-helper.patch [new file with mode: 0644]

index 1ba261799c0abf01164237b20901a1e3c275a3e4..7be6a0c93a14262117244806169c1999480efcb9 100644 (file)
@@ -26,3 +26,4 @@ power-supply-axp288_charger-add-special-handling-for-hp-pavilion-x2-10.patch
 revert-alsa-uapi-drop-asound.h-inclusion-from-asoc.h.patch
 revert-dm-always-call-blk_queue_split-in-dm_process_bio.patch
 alsa-hda-ca0132-add-recon3di-quirk-to-handle-integrated-sound-on-evga-x99-classified-motherboard.patch
+soc-mediatek-knows_txdone-needs-to-be-set-in-mediatek-cmdq-helper.patch
diff --git a/queue-5.6/soc-mediatek-knows_txdone-needs-to-be-set-in-mediatek-cmdq-helper.patch b/queue-5.6/soc-mediatek-knows_txdone-needs-to-be-set-in-mediatek-cmdq-helper.patch
new file mode 100644 (file)
index 0000000..cac0176
--- /dev/null
@@ -0,0 +1,34 @@
+From ce35e21d82bcac8b3fd5128888f9e233f8444293 Mon Sep 17 00:00:00 2001
+From: Bibby Hsieh <bibby.hsieh@mediatek.com>
+Date: Fri, 14 Feb 2020 12:35:45 +0800
+Subject: soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper
+
+From: Bibby Hsieh <bibby.hsieh@mediatek.com>
+
+commit ce35e21d82bcac8b3fd5128888f9e233f8444293 upstream.
+
+Mediatek CMDQ driver have a mechanism to do TXDONE_BY_ACK,
+so we should set knows_txdone.
+
+Fixes:576f1b4bc802 ("soc: mediatek: Add Mediatek CMDQ helper")
+
+Cc: stable@vger.kernel.org # v5.0+
+Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
+Reviewed-by: CK Hu <ck.hu@mediatek.com>
+Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/soc/mediatek/mtk-cmdq-helper.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/soc/mediatek/mtk-cmdq-helper.c
++++ b/drivers/soc/mediatek/mtk-cmdq-helper.c
+@@ -78,6 +78,7 @@ struct cmdq_client *cmdq_mbox_create(str
+       client->pkt_cnt = 0;
+       client->client.dev = dev;
+       client->client.tx_block = false;
++      client->client.knows_txdone = true;
+       client->chan = mbox_request_channel(&client->client, index);
+       if (IS_ERR(client->chan)) {