From: Greg Kroah-Hartman Date: Tue, 7 Apr 2020 09:05:05 +0000 (+0200) Subject: 5.6-stable patches X-Git-Tag: v5.4.31~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aaba0e945de6f8f33dd9280c7d41219301d3c8c4;p=thirdparty%2Fkernel%2Fstable-queue.git 5.6-stable patches added patches: soc-mediatek-knows_txdone-needs-to-be-set-in-mediatek-cmdq-helper.patch --- diff --git a/queue-5.6/series b/queue-5.6/series index 1ba261799c0..7be6a0c93a1 100644 --- a/queue-5.6/series +++ b/queue-5.6/series @@ -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 index 00000000000..cac0176b32f --- /dev/null +++ b/queue-5.6/soc-mediatek-knows_txdone-needs-to-be-set-in-mediatek-cmdq-helper.patch @@ -0,0 +1,34 @@ +From ce35e21d82bcac8b3fd5128888f9e233f8444293 Mon Sep 17 00:00:00 2001 +From: Bibby Hsieh +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 + +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 +Reviewed-by: CK Hu +Signed-off-by: Matthias Brugger +Signed-off-by: Greg Kroah-Hartman + +--- + 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)) {