Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp562451ybl; Fri, 13 Dec 2019 00:37:55 -0800 (PST) X-Google-Smtp-Source: APXvYqx5zTaecTmizTMG+kZ8YYMwG4t2AGW1yzCub0WM2v5G3VRd6KHzcMu6nobg8GDeS6/NTwQI X-Received: by 2002:a9d:282:: with SMTP id 2mr12951314otl.237.1576226275361; Fri, 13 Dec 2019 00:37:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576226275; cv=none; d=google.com; s=arc-20160816; b=pePBAozvondIGc5r8Eim+6XYmDAuboOg4Nvco8O3VqswNVG+nNoVjATxrQ4uSoVz4L /ssA2MuDKeoVS3I6VlakptIzM8z7NYDmlu1iAtyIkj7eXQuwOEG8AUEw/jYLmPdOfetB 6OokUBRqOgAPW0q5ut58RcNTLRbJtsPLnex/JW0XSSI7t04OfmD1D2inRMCvS4oiyw2p 48DRRi48UC07/xzs6330O89KTXGGnJrqcRUk8/xgkgGov3QeQAqEV5h8tfNbB7emALI3 EzYdeaDzyRsei2PuUlm/6J3M/uxj1/0igC1JihB5pmFSy4yILEOQ3Svvc5Klv9CnDf6p yf+Q== 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=vtVBGehlJ7pQK93Wbhhyk4U6AOUFyJb8kru5H4W+ZyQ=; b=rQL186m9+r8KHLMHj82zQ6Qihvq5HiJXsKJ23hG4NP8YDMRFQvbacKTBa5mgDpqxGY 95MFVJeyYSLiWrxO5Hyh79qK3tIKVJEy1foEuchCaFskWHPvaarBUDtm9B36TlwO6jq/ UqJJ3qHTmu5P9E6e1ZCYwxsh+thR4M/fT3q9zz4yaYhHXSWBhgsbfEet9w5zUOZyLrGx YDoZPgeD3OEOb2evnUcDoW8qTAUHHsCRFEUzTENroeW219HKJY5FW3a8bXIuQ4fHdyFO z7sPFIu9J9a6tTQECGz/EtdJVewncxTaTF3nf7UdALOwOaJd+MfQT/L2MGiD385BxidO ciTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=N9BI2oWZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si5540446otn.180.2019.12.13.00.37.43; Fri, 13 Dec 2019 00:37:55 -0800 (PST) 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=@mediatek.com header.s=dk header.b=N9BI2oWZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726141AbfLMIhD (ORCPT + 99 others); Fri, 13 Dec 2019 03:37:03 -0500 Received: from mailgw02.mediatek.com ([216.200.240.185]:43567 "EHLO mailgw02.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725810AbfLMIhC (ORCPT ); Fri, 13 Dec 2019 03:37:02 -0500 X-Greylist: delayed 300 seconds by postgrey-1.27 at vger.kernel.org; Fri, 13 Dec 2019 03:37:02 EST X-UUID: db4057dce27a4f45ab73980f3bf7a233-20191213 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=vtVBGehlJ7pQK93Wbhhyk4U6AOUFyJb8kru5H4W+ZyQ=; b=N9BI2oWZlSbhkfewqYbZ8t5W69VJJMgp7U3Idd5cw+7BnURArwdu8zckUJ0ra+IRVEZZgTfbOASk/qvBe070qVvcE/JWMH9/KgOcNoAdiBPubaEXa6xkKJs3vA5huBAGgAe5DbW7rDg7ifzqSwrpcHkT+YTa5PGTL40Be2eJPLI=; X-UUID: db4057dce27a4f45ab73980f3bf7a233-20191213 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1536907609; Fri, 13 Dec 2019 00:31:58 -0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 13 Dec 2019 16:10:41 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 13 Dec 2019 16:11:05 +0800 From: Stanley Chu To: , , , , , , CC: , , , , , , , , Stanley Chu Subject: [PATCH v1 2/4] scsi: ufs: export ufshcd_auto_hibern8_update for vendor usage Date: Fri, 13 Dec 2019 16:11:33 +0800 Message-ID: <1576224695-22657-3-git-send-email-stanley.chu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1576224695-22657-1-git-send-email-stanley.chu@mediatek.com> References: <1576224695-22657-1-git-send-email-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: D4C3F8167AF9FF52FB02BEFF88B4BC498BBDE43CE5F86B8F06CCF6D8239256102000: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 RXhwb3J0IHVmc2hjZF9hdXRvX2hpYmVybjhfdXBkYXRlIHRvIGFsbG93IHZlbmRvcnMgdG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