Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3050652imj; Mon, 18 Feb 2019 18:33:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IYleYu4+XTs2Y/ysdG19WhycSWG1FthD4OnPIeQxsujVl51ijXCywKSMBHBc0ZFgXEEqKUz X-Received: by 2002:a63:f444:: with SMTP id p4mr21654388pgk.124.1550543613145; Mon, 18 Feb 2019 18:33:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550543613; cv=none; d=google.com; s=arc-20160816; b=uIwxalsV4OX6z082vuAiiAWAYJhy1a2KhvaPSU108V9HShzhevnO9ddN5mYSWnbVwO mcC9bewkZgx0IXXGnbPamIoGEnRmSeAeYLFBQqknPYBe5YpPwR4QQDjN2Pt05Ox0l8tj CiX6aUzyZHM4vB8Yp/diVaAfO60cwWGObPcXotel2YvEe/lCc7EBRoCWx3cYxpHzDk7w 7F59RNspNtdI9ROqjP0KY0yn9MY2An2WFVp9aaJKhVD4orFatiKOJOuTV6PTM9expgOs e+7xaKCzZWLma3K15E2RIM3O7LgHEC+X6l7L040UXHqOsjX4QNpukcw49LzFMmtfvgXp HZ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=HaLrXyjeA/kqNrsW1idTNvDYdlNKXy7I/XwbBqQpmgQ=; b=Ak7ZdvlrISR9kDLgWs3U4WezXcGtM89xeyrI0WQrksPdH7HcxBzd1/cO1Ln4RHVL95 OffAzE69FmXsp+M7O8f3yEGWhun90sdMtrIuc51U8+UYP987dk/xg3JekvI0OoPNp3ha jD8B0q3QQRDn5+UWNaqQWYHd8G+qrhcLtzqJLV6+RV0QG3OHes7c60hx3hmrbRqW0VYv QF5pRZmZZx1JjXL9LRr18T0Af/XEI8WAMWGyLtWR5zUBT1fCYPXeG59XFT+YNCaNjyDz 1AKl0KyjHWXPOngzdTkuyM1jt8WFsMHxDldPwCv7weFvB3EUOeZQQT4UHy0gK6Md7JiW Z0dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Xfw54vrP; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si2009868pgj.13.2019.02.18.18.33.17; Mon, 18 Feb 2019 18:33:33 -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=@nvidia.com header.s=n1 header.b=Xfw54vrP; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727483AbfBRVHm (ORCPT + 99 others); Mon, 18 Feb 2019 16:07:42 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:14135 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbfBRVHm (ORCPT ); Mon, 18 Feb 2019 16:07:42 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 18 Feb 2019 13:07:48 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 18 Feb 2019 13:07:41 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 18 Feb 2019 13:07:41 -0800 Received: from HQMAIL103.nvidia.com (172.20.187.11) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 18 Feb 2019 21:07:41 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL103.nvidia.com (172.20.187.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 18 Feb 2019 21:07:40 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.161.150]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 18 Feb 2019 13:07:40 -0800 From: Sowjanya Komatineni To: , , , CC: , , , Subject: [PATCH V2] i2c: tegra: fix tegra186 hw feature support for has_mst_fifo_reg Date: Mon, 18 Feb 2019 13:07:35 -0800 Message-ID: <1550524059-28900-1-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1550524068; bh=HaLrXyjeA/kqNrsW1idTNvDYdlNKXy7I/XwbBqQpmgQ=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=Xfw54vrPs2JCJIFIP/+gJkkIGwzt/xmBkXVTXsRjksApzIjemlHJUi2GZt7MV+jQH WQxikhhOGtDGe25P0zRggQZlgZVvPFhBIlxL2eOde2/zWB09zgf6MUbjIl2DUFip7/ whSl79gek6NjInTUn1ok/ZmRLeJ+3w+nHwNBq7J1fRteFrYQRtGexwdLKzSjABbYcW c2aMF0Qd/6+mkVHxUoM6b+TfRYoAoqAEaJKM5SIQZBV+DNMeziBGbQkG6k5u60X+Ls Y8yx7TafOuU7ch7eHu6BkNKooni6hlceiCtEm47DKwNsrlxG7V+C8eDNutmHLbjWxw K4FVG4A4L1Azw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra186 does not have master fifo control register and instead uses fifo control register like prior tegra chipset. This patch fixes this and prevents crashing during boot when accessing fifo control registers. Signed-off-by: Sowjanya Komatineni --- drivers/i2c/busses/i2c-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index a4cd79c9f7a7..e6851904acc1 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -1436,7 +1436,7 @@ static const struct tegra_i2c_hw_feature tegra186_i2c_hw = { .has_config_load_reg = true, .has_multi_master_mode = true, .has_slcg_override_reg = true, - .has_mst_fifo = true, + .has_mst_fifo = false, .quirks = &tegra_i2c_quirks, .supports_bus_clear = true, .has_apb_dma = false, -- 2.7.4