Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8639871ybl; Thu, 16 Jan 2020 21:34:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwpT4z0SuoTyCv0LXuNlPuq/mI2XPG5SOyN0hg7lkYskEFaniuTuyuYk6E4U+fWqEq8P3Ni X-Received: by 2002:a9d:69ce:: with SMTP id v14mr5126717oto.248.1579239248574; Thu, 16 Jan 2020 21:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579239248; cv=none; d=google.com; s=arc-20160816; b=uOxfeMOfWYi/Vl9dW64wc0GrugmnrwdzusbKUIlea3oIrNJ6S8tC/Msmu7jMBAu9OR 95/cYEt/h72lLOyNIFQ5Vns1w87uCb6N0kA/FjIjrJIe6q4phNSC4ia0ecurXD7p86m1 6CSaumgrQgcqM+3//kPoacXzkl3jXU6Gf0jkdBfgm6zmKOkzZipy7mbJzfmk2Yjkr7zH zNAL+XzmVG4OU3b9ZODL1HAudPy7XWBr74RFLZpgtwO6tbKQ/VpNNAIMPg59ZOg+VmbW nF9mRVIyhMfyumt5VSc37op58uu9VFZMCwAWN5fHbNamdE8kLJ4NeIphr3pWK0k19miz u7yA== 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=HDwpeK1tuxH/QoY+CMgh2LJu/tFB3YGoU1KNbePi49w=; b=nyz14sl8UkVz8HnTP6gI4kkF7vzEfvB+jX8r9OqRwMnYI/SngBAY0OwcDUZKPWPb/H SxHahGfM/8Lc8ChPUEUntvppQxSI71eo5V/BNoS/k8gL4Y2/RvLne/JuIlOXaM5kVmKY pU+yBcj4ce/idl/PYsEGFINcB+f4vZU6YX5rzd+Tv9C7d+j2mR/rGUqRQ5ThMEzUG1EF EdH4l7ReH56Au0JX3Z6t4VlOlOri+NOFuH6T45IU8+lDvdhiHibAjm2+l3kVMIlaMO6q mwzZnUz77aC70rzXToQeoy3fsF2dtgFAdRaVMoP8c6UE145DhIYRoOw/FAf+dHce/Kmh FnLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WhxMeTKl; 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 g1si14434783otj.115.2020.01.16.21.33.57; Thu, 16 Jan 2020 21:34:08 -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=WhxMeTKl; 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 S1730987AbgAQDvS (ORCPT + 99 others); Thu, 16 Jan 2020 22:51:18 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:18298 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729539AbgAQDvP (ORCPT ); Thu, 16 Jan 2020 22:51:15 -0500 X-UUID: 848e23ad4c114462a3eadd3992b043d0-20200117 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=HDwpeK1tuxH/QoY+CMgh2LJu/tFB3YGoU1KNbePi49w=; b=WhxMeTKlj8Q/nyEL+rKgTO9ELrRoSW6HvW+x0EvbbTgqTKizoYTIfVrDptYYALLlEEbYQJJ9FiKj9YnvS86+531R6mpQwYwYUODB43hleQH52u90uZhzZFrwonFzpQK9uFIepoIsVHcGMvnMlw9W5l1XEPuYDYEwZO+k09O0zaE=; X-UUID: 848e23ad4c114462a3eadd3992b043d0-20200117 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 969960592; Fri, 17 Jan 2020 11:51:10 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 17 Jan 2020 11:50:03 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 17 Jan 2020 11:51:09 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , , Stanley Chu Subject: [PATCH v1 2/3] scsi: ufs: export some functions for vendor usage Date: Fri, 17 Jan 2020 11:51:07 +0800 Message-ID: <20200117035108.19699-3-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200117035108.19699-1-stanley.chu@mediatek.com> References: <20200117035108.19699-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 RXhwb3J0IGJlbG93IGZ1bmN0aW9ucyBmb3IgdmVuZG9yIHVzYWdlLA0KDQppbnQgdWZzaGNkX2hi YV9lbmFibGUoc3RydWN0IHVmc19oYmEgKmhiYSk7DQppbnQgdWZzaGNkX21ha2VfaGJhX29wZXJh dGlvbmFsKHN0cnVjdCB1ZnNfaGJhICpoYmEpOw0KaW50IHVmc2hjZF91aWNfa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