Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4232528ybb; Tue, 7 Apr 2020 03:29:26 -0700 (PDT) X-Google-Smtp-Source: APiQypIUow0/g7Oi0M8PWiDraQqOo38HQNYcTf9gPjj8PthvrMSEuKn0XNiSrW7MzuTfb1k5Zd98 X-Received: by 2002:aca:fc88:: with SMTP id a130mr1022702oii.89.1586255366005; Tue, 07 Apr 2020 03:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586255365; cv=none; d=google.com; s=arc-20160816; b=JMbIspbmO0ZWhEDzpbHjKC7UmMCWILtb01mh8E0oKy9L9H/cp52fR97AFf6/mr3JOD ofeyhZAMaWC160tP/9uePbwDHSz5AQ3PkUzfm1XbKWVhxZqVdlJwxqX5YcG/8hYklwgd WmXAoKOW8XA9jsr1YGaUl3AFfrJNUUhpITJCJWq/wYnWs1gjMTU+Y9oZ0GgvRwLEigfG q8ZFlrgwmn6qEG998ubRq8qEmuSfKN0uEmd4Gb1B3nX+JWnpLjlLmiOtg6v5lTuD4wUd cnzqMftgz1O2bjsMLM1Fuwzju8hYWHDSxuTlBODY9oMQ0vAnRi4ceByyGKQyh8LPby7D HfJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5gcmaiY0DFSkjoIvApSWznaBoyT/QpaSRnvlhs1n8Tw=; b=KcPfIXYJhtR1Uw1d8ZgxFf9TgrH3y+V7phEh27svNoqvFESg7cQqM6vdo7UUqJKwrq gdbeOcsabz11GiB1zEFx8scJjRDmO68qdArZRKe8400XrNnAo4ZCBLFmnZPBUJ9jJHs6 IC/CH60FZDH3SsrQ42836okEVOK/epr7cN+93nQaBPsR9zWpFxt7QKmcc9qKEZ3svQ3B X8Q/52Xji1lcXVDdh7gjIZRbzDtNUBBVIJQYXuE54pJ8Oi5qoz0VuYJ66Ak8BfNXgtRA xvdrlBPFdewiDraql5r85hdgrZatpHAdE9e2ykZw2fLNhwOk4WLrp9I5F4/71itl32tA hWaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=e3Kvttlm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si1061430otn.91.2020.04.07.03.29.14; Tue, 07 Apr 2020 03:29:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=e3Kvttlm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725883AbgDGKZy (ORCPT + 99 others); Tue, 7 Apr 2020 06:25:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:36620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729045AbgDGKZw (ORCPT ); Tue, 7 Apr 2020 06:25:52 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7101A20771; Tue, 7 Apr 2020 10:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586255151; bh=KN/RtJgBrXn5vFfRyb79eWSReJRlqg0mW2vgwy54kG8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e3KvttlmP7fkaGFNrwPwacwI2ckQcbb0Il7awKLoJGDCmqEfaJjmbAEzS4FYn3nOB TXZh/iMWDiHJB5e4qBJ+maALQTc3NHOR764n+Ao2uGY7msLr0GBITabWnyVO6A2oll /wiobBnZHrR0d6S47jm5OU6Sa9g0aGTkIYgkWd0A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bibby Hsieh , CK Hu , Matthias Brugger Subject: [PATCH 5.5 33/46] soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper Date: Tue, 7 Apr 2020 12:22:04 +0200 Message-Id: <20200407101503.033372873@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200407101459.502593074@linuxfoundation.org> References: <20200407101459.502593074@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 @@ -38,6 +38,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)) {