From patchwork Wed Nov 27 16:54:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 11264583 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 69F2C6C1 for ; Wed, 27 Nov 2019 16:54:53 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1474320835 for ; Wed, 27 Nov 2019 16:54:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="n+/zD6ae" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1474320835 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+939+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id aaaaYY1556264xaaaaaaaaaa; Wed, 27 Nov 2019 08:54:52 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web10.8775.1574873692481371847 for ; Wed, 27 Nov 2019 08:54:52 -0800 X-Received: by mail.kernel.org (Postfix) id 0E3D02075C; Wed, 27 Nov 2019 16:54:52 +0000 (UTC) X-Received: from ziggy.de (unknown [37.223.145.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A6B7E20665; Wed, 27 Nov 2019 16:54:50 +0000 (UTC) From: Matthias Brugger To: Linuxkernel+Patchwork-Soc via Email Integration Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, bibby.hsieh@mediatek.com, stable@vger.kernel.org, CK Hu , Matthias Brugger Subject: [PATCH] soc: mediatek: cmdq: fixup wrong input order of write api Date: Wed, 27 Nov 2019 17:54:28 +0100 Message-Id: <20191127165428.19662-1-matthias.bgg@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org X-Gm-Message-State: aaaaaaaaaaaaaaaaaaaaaaaax1554929AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1574873692; bh=/UhZcMuwPYWkKN98EHQcQekctWaF5UZF5rbuFKfkc98=; h=Cc:Date:From:Reply-To:Subject:To; b=n+/zD6ae0AWCRQGP7Rz47z7PRrpMeyCbV3G+AF+qyrGyNi+t1rpuupRF690k3wbVOsk Zbh63Jbcj3jmuLej06betqOrV1P+RhrAHCLxjh9PV+crgFDMJy3tVKubvx2DX+eKMThgP +aT4wPC4BwnNNYwn9FNmtihgyzLa4foMgBM= From: Bibby Hsieh Fixup a issue was caused by the previous fixup patch. Fixes: 1a92f989126e ("soc: mediatek: cmdq: reorder the parameter") Cc: Signed-off-by: Bibby Hsieh Reviewed-by: CK Hu Signed-off-by: Matthias Brugger --- drivers/soc/mediatek/mtk-cmdq-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-cmdq-helper.c b/drivers/soc/mediatek/mtk-cmdq-helper.c index 7aa0517ff2f3..3c82de5f9417 100644 --- a/drivers/soc/mediatek/mtk-cmdq-helper.c +++ b/drivers/soc/mediatek/mtk-cmdq-helper.c @@ -155,7 +155,7 @@ int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, err = cmdq_pkt_append_command(pkt, CMDQ_CODE_MASK, 0, ~mask); offset_mask |= CMDQ_WRITE_ENABLE_MASK; } - err |= cmdq_pkt_write(pkt, value, subsys, offset_mask); + err |= cmdq_pkt_write(pkt, subsys, offset_mask, value); return err; }