Received: by 2002:a4a:be92:0:0:0:0:0 with SMTP id o18csp3114781oop; Mon, 18 Feb 2019 18:33:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IYrlCWWeXw2JtStnejZ4tcGxboGn9vmAty8CdBk1E+dkJUZSEKFR7bRhG1ttZR2zTNLyDPN X-Received: by 2002:a63:5d48:: with SMTP id o8mr12489001pgm.297.1550543620496; Mon, 18 Feb 2019 18:33:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550543620; cv=none; d=google.com; s=arc-20160816; b=xeLx9Gzpmukllsv045YZCC/jR+S+VcdIIypt9IYT/ZeJSOQXFXzrV3ArvmrG0zbF5N Ndb7wf/XaBnFb0TytaHqRrGOXdRhy8WlqYhnwDVATDASydIK66GXUvGD/4a9nsbjtmnY mekYvb4FzY0wWT2FhUx7veS1vkRaLO+LerC/F2JtDSe36cUKc6LPoUP9tgu3GqRMARnL Dh9GmFLPpWo65SJfxJKYKpms0eZRkHzZX+2NTmhtELYRWjJMlgVcKVyEOj5K82J894Xw ANsctJYYCS1GopfZ7L7+IMz4+5VQjeJ1IlvRu9AUveTMw6A449F299r8tnKNyx2us+s4 ivbg== 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:references :in-reply-to:message-id:date:subject:cc:to:from; bh=HaLrXyjeA/kqNrsW1idTNvDYdlNKXy7I/XwbBqQpmgQ=; b=e2IGGhbF1QSkTQqYpItV6EUkS1vepuu6y+GRKygdo3FwxtwsohNSjWCdXhdbdL1JOC 4R4hGnS6sz+elshF5gkckZ7YDVsG2TYQHQG3EXOFHzi5ccHv4MzvVpwnsEBzNuYHTMKt iIFbv4ae8wj9UduO3E2xJgPln+Cm2Ils4RNDEpesh4JFC7hNcXjbXqh0e7f9N4xpb70D kLyQEovLPobao1g+rvbj2qoZKyqxzZ/UlOM6bZqVze0ROxJDbDu/n1r/+zH7H2WQZTEC kCNxMXUKYYZTC01tx8SNEPEYvdKGvf51yNqb+5tsYLnZC8NR8nHnBYoCRi/Qel4VUeaV 7KjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="i/20fYYO"; 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 c8si13943697pgl.507.2019.02.18.18.33.24; Mon, 18 Feb 2019 18:33:40 -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="i/20fYYO"; 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 S1727937AbfBRVHs (ORCPT + 99 others); Mon, 18 Feb 2019 16:07:48 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:8214 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbfBRVHn (ORCPT ); Mon, 18 Feb 2019 16:07:43 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 18 Feb 2019 13:07:47 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 18 Feb 2019 13:07:43 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 18 Feb 2019 13:07:43 -0800 Received: from HQMAIL102.nvidia.com (172.18.146.10) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 18 Feb 2019 21:07:42 +0000 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL102.nvidia.com (172.18.146.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 18 Feb 2019 21:07:42 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 18 Feb 2019 21:07:42 +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:42 -0800 From: Sowjanya Komatineni To: , , , CC: , , , Subject: [PATCH V2] i2c: tegra: fix tegra186 hw feature support Date: Mon, 18 Feb 2019 13:07:36 -0800 Message-ID: <1550524059-28900-2-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550524059-28900-1-git-send-email-skomatineni@nvidia.com> References: <1550524059-28900-1-git-send-email-skomatineni@nvidia.com> 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: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=i/20fYYOCpP/NTjUN/IaSWtfs9vDHGrTYZBpuOcXmu5o2tsMSf5S0ddQwOj2LG3W1 LcVXPS/2+95m/0bFkLB9F+U7BoZjEdfwkInp8/pjMXjn8ah1XnBIWWVwzqotncZUUz J05ElTXL3Wecj7v1oBJXvlT6I+v55ZAzvtmzRc1V2UmSvWFkDaZKsGfFvNLI1iLiSB Pvqpj/3Co2bkvWbtUfCvPDjqu+Ml5QHVjIwdBylM6vZQe1Zn8Dw9O5eET7zv3OUcZa it5Oj8CSHpOP8SSOcP7JWiGV0fQtHIM0FFRWLHtm1+fhcjBnNwUaNVKXChC8eW5eKM NDlZK1k3EnGtg== 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