Received: by 2002:a4a:be92:0:0:0:0:0 with SMTP id o18csp3116381oop; Mon, 18 Feb 2019 18:35:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IY4fLLXebRYh+Knww6rB6/193rOhxowLTmC3rXJbCqfOXyOp3z9wiyu/h6EPwMHCcXLBDTw X-Received: by 2002:a17:902:a5c9:: with SMTP id t9mr4924291plq.196.1550543758415; Mon, 18 Feb 2019 18:35:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550543758; cv=none; d=google.com; s=arc-20160816; b=q+JOG7RenDDt07bWcbWNsivanQ4/xWzF2oeJ/VoXXw6ISCgAbs0yrlsV7lGjeBomky 8pIY1WdfZxeOZc/vpjRmutyMctCq8wQY334JmFZCMx22jIjlFQCCgjoVcw9gyWpzncaF +1zLg3uDHtXfQMjIkyXUWvkvMqIJ4fHGWhEXVc1FDzDZ4kqr7MCb8al0r0YIdQcXshCS nhKgb6s6uwMU7aUBY7IENmpqEX3hrNMp4S8rZ829be/jreiNd64gNYRy4O70Bc23wnvR Q0wVJI3FK7PfCqNenfXDHGVNmG64bMp8QQH/Lukw2YhgtHzp/EnpEN9FmVGG8KanYif2 GsyA== 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=CZ94zBrkPuJjY0/clmpU/U7gO0HEsrc1TdnjFPZmfsxslJ224HMlILEjCcDVdQUZC5 XgDSK0MbaQAwGUGDT0dt/6vNDUvozLPa/HU7yXbnOcR470JJWZEwNGBEch0DWlSp8DB+ N6/1m32muiKlbVjbTWGW3kWKW1dTH8QXr/gJ5mdQt9denrQdadnxWI6mX3V2dNjyZP+T AW3GIfq/dKYDoy1qSiVMj0cNJLmL0Dsevh9z0xdMM/RfqWfT2JxCoV7Zq1S8FHZtAy+h uZLsFT3ZofSj9/HMyja4WzdH9TmFN3T5GHEoeMOqkbPkfm8F8o/P1fDcp1VJdBNiwEkO PEhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=MJH7TnUR; 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 o28si14815758pgm.238.2019.02.18.18.35.43; Mon, 18 Feb 2019 18:35:58 -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=MJH7TnUR; 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 S1730327AbfBRVMp (ORCPT + 99 others); Mon, 18 Feb 2019 16:12:45 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:18833 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbfBRVMo (ORCPT ); Mon, 18 Feb 2019 16:12:44 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 18 Feb 2019 13:12:43 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 18 Feb 2019 13:12:44 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 18 Feb 2019 13:12:44 -0800 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 18 Feb 2019 21:12:43 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 18 Feb 2019 21:12:43 +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:12:42 -0800 From: Sowjanya Komatineni To: , , , CC: , , , Subject: [PATCH V3] i2c: tegra: fix tegra186 hw feature support Date: Mon, 18 Feb 2019 13:12:40 -0800 Message-ID: <1550524360-29008-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=1550524363; bh=HaLrXyjeA/kqNrsW1idTNvDYdlNKXy7I/XwbBqQpmgQ=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=MJH7TnUR6GcSfm8IBcvI58GinQfri8vlCYEw4JO/6BmDgcOg2gGNc3Qt3OEtXwine u/+XB3FUE+7DnS53tiUejejNAJ3xAFBqLnpOYfV71FgWq4UB9kIRladeTHpCFCVAhi Sv1PizTTZMEx/yZMcoLMVIY8z3zxEBOtlOZxspMc2zfiPMJ9sFnZ4jnMD5s6pI+TZt YVij8kUT7XU5IDauuKdHVoCdAuX69U+8nqiJdKzX3qUHDKuBAgVJe8ghu7dW+ckabq WC7tJn/5x7u5pu8l8WxE8MHqPqUxPNjB524HDGUEajfVk2MjtTKpvoeEqpGFlnAWP4 /WXoORDHoSNAA== 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