Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1033815imu; Wed, 16 Jan 2019 11:33:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Zdp/bojJa/VR8z7cU7KaKk77xLxQz8ZiGMfC1tFKGcUL+xXzP+oy0bfYgxB9DkFw6g27K X-Received: by 2002:a63:fe48:: with SMTP id x8mr10490369pgj.261.1547667201296; Wed, 16 Jan 2019 11:33:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547667201; cv=none; d=google.com; s=arc-20160816; b=WJTrNzC5afMASIW9B8gDNxBW/4114sfR632VnqPsRT1jCr1Uy6xSJJkYw8n8tQ1LX4 o9BI6XEQSvuvGmkVcA7mMiJwtK9oqI/YnjoFf32x8K043Z6WBg8awAVNE11IAJtSDiTJ aTcTaIWm3hV41n8gtY37KVjG3icnuhT8lIjX8HOVHhbimFo4W6Dhfbc41xejREGo5tlT tTsxgEyn9rF2q6bQUfjV4wq43mlyeFkU6WlAklGMDTlPhiqtpN/LDOT7sxyQNnManzia 4CPXDsbjo8QBg0XV0/cJ7sRCv7FV7xZ7vIo/uNasnPqRPg2oi77W/jSC3Hwhi74VNiOZ 94ig== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=YUD9jAyxA4FZT2XyBVSs1PsUP/LF123Q8vmA1EWb/qI=; b=YFhsO+Qv8+IBaspUY6lS67asoMDIS5wDac3iJX6SpEAdUDVDLm5+x3DjoGpiKAhrHL LI0wkAcHp12QTt6HZhEY99SPq03h+Gg8XNPtjdPddhi9i+ti4VJ/sNuw7PawfQfClnHj VG0yEXXNdwP7CrJk+czRPjHHh68DZyBKkcvcOkNivSSyck4howT8Gb4e9In6j2n5nNjz ZpPaZl2hy4Zhxu2tzwrt+6LxQhIvGUsetsQtKchwLWK4b67ZAP2HFj72F+xFmJKUPrbU +y9aQKzWi8K2/7xxfnD2Be/Upg0euzDcXuDz3eOoYFdhUc1ML/NrdYf8dg+w4pMe4wHA qJ4A== ARC-Authentication-Results: i=1; mx.google.com; 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 y8si6896007plr.92.2019.01.16.11.33.03; Wed, 16 Jan 2019 11:33:21 -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; 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 S2392355AbfAPLCL (ORCPT + 99 others); Wed, 16 Jan 2019 06:02:11 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:30595 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389534AbfAPLCK (ORCPT ); Wed, 16 Jan 2019 06:02:10 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 14FA113F8F4; Wed, 16 Jan 2019 12:01:58 +0100 (CET) Subject: [RFC PATCH v2 4/4] ufshcd_set_vccq_rail_unused locks up the board From: Marc Gonzalez To: MSM Cc: LKML , Jeffrey Hugo , Bjorn Andersson , Andy Gross References: <88e04336-723f-c157-0384-c5054a73e0a4@free.fr> Message-ID: Date: Wed, 16 Jan 2019 12:00:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <88e04336-723f-c157-0384-c5054a73e0a4@free.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Better solution required. Suggestions? A quirk? Specify that the vccq rail cannot be disabled in the DT? --- drivers/scsi/ufs/ufshcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 9ba7671b84f8..d0d340210ccf 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -7196,6 +7196,7 @@ static int ufshcd_set_vccq_rail_unused(struct ufs_hba *hba, bool unused) { int ret = 0; struct ufs_vreg_info *info = &hba->vreg_info; + return 0; /*** NOP ***/ if (!info) goto out; -- 2.17.1