Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3715014pxk; Mon, 7 Sep 2020 23:49:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlLJXMnm6xqm3EjJGGqK6/IFUu5YEosrRYvW/UM7QuDVVGV30W8P5hs9KGEfmlhwe4MljC X-Received: by 2002:a05:6402:ca7:: with SMTP id cn7mr24992344edb.143.1599547773946; Mon, 07 Sep 2020 23:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599547773; cv=none; d=google.com; s=arc-20160816; b=xGCChd/eIrTs00hhUeMf/SY22VaBcmODBrLvW8STUrQK6KvtN994PeBtVZLrwkumMo X8VewhDmdHrICT5DFT6JtyxXIldx9NRWo6QGeh0jeMfLr6xx2D0HsVWBijPjIcN0lgN7 D9sj+Fo/H0BQPIL16VCK6jb7/sK5OEHh+GJeC5fY3Tp2ZkvhVMw1bQ8JaxPpsqgnCHW6 4yux13GjAZ4budmHA3fzL9Sx7cn5jxoYjOihi1+VNxFcdjRZFXhYf6meMB2/FJJTsu0A sgJSXXFQ6uASoGSlK4iYaQrfH+2m9gLbvIWhf5CcfoqgTUux9jNYEbd0PwaoukoSdVZo GJBA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bjomsp98M5COQp7hU2i9F3nHqul1illrMLuipZ67MYo=; b=jmkFe/WvxbY2awJ2/hyeLTkl5O1YOB3d3OzZfl61CmF/f1lcPnfQW5rAxq6KUp9ViH Tijr7M+ubtP7dz5I4BOdjdvec0dz80jdweYFFjLE0EIfvYed3jv5goQ3E54SjHX72xqk kDW6BloKy0dMei+wO6SZYvZkvCC1rmvqgUX//gmzn0dPqKsHb7Xt3LmhXGXl5/PKG8Iv 0psiT7DT5gAgNpcaVt0Q8qZMEfu0Qjh+uIPTzMUvUgXSAE+6oCHRE4V+Oc6lD5c/Auts I4zVXHBSE62tJ95YuI0XFzFXp/thatNXR+VDGycnCIwNoOl5GHbM5AHnfLQbuY8Mmiqx Sdbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LQ89IYxK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g21si5171434edy.588.2020.09.07.23.49.11; Mon, 07 Sep 2020 23:49:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LQ89IYxK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729161AbgIHGpo (ORCPT + 99 others); Tue, 8 Sep 2020 02:45:44 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:59518 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727898AbgIHGpR (ORCPT ); Tue, 8 Sep 2020 02:45:17 -0400 X-UUID: a965ba27aa94406e81943227f5c7e258-20200908 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Bjomsp98M5COQp7hU2i9F3nHqul1illrMLuipZ67MYo=; b=LQ89IYxKzSQVyLZ4NgSj+SZi5XEkCJPHTwrTZR27V5UoC2MDL8k4Vr06nvn8492Zele0qScmj4IcFU+lI2XlRvRQCXH/7IVwvSm7EAFtsjHpN6Vibdl1ed4pkr5MfFBpkkPw71tXg3ULA2C+oCa+56ZHRWYuwyL1OByJPLxe0hw=; X-UUID: a965ba27aa94406e81943227f5c7e258-20200908 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 66601205; Tue, 08 Sep 2020 14:45:13 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 8 Sep 2020 14:45:09 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 8 Sep 2020 14:45:10 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , Stanley Chu Subject: [PATCH 3/4] scsi: ufs-mediatek: Fix flag of unipro low-power mode Date: Tue, 8 Sep 2020 14:45:06 +0800 Message-ID: <20200908064507.30774-4-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200908064507.30774-1-stanley.chu@mediatek.com> References: <20200908064507.30774-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: A16BDD5A8366D066DA603CCA0A8A17BF6BFBBB21D4FA726657DD4C3FAA686DC52000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rm9yY2libHkgbGVhdmUgVW5pUHJvIGxvdy1wb3dlciBtb2RlIGlmIFVJQyBjb21tYW5kcyBpcyBm YWlsZWQuDQpUaGlzIG1ha2VzIGhiYV9lbmFib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