Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4429739pxb; Mon, 21 Feb 2022 21:21:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFQKD0nf6IpX5gUOgnFOjieRJ8kqIMt2zBHoOr/f2vqGg2T3Mk2+/yV3yUJJ74Olredqs5 X-Received: by 2002:a63:f252:0:b0:373:416d:c8db with SMTP id d18-20020a63f252000000b00373416dc8dbmr18627641pgk.568.1645507300459; Mon, 21 Feb 2022 21:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645507300; cv=none; d=google.com; s=arc-20160816; b=XFA8ylrp6krEPPx8J1guojhZ9C4CrKxT0f/WmManGE+MoHpwNXSAyf1Frt6KlyBP1i rrD+kUkP0XsKwSqUb1tVY9Sm2VFZEhMzpLlcls9l2WUDlES/mkovomM0CoZ4DO/BEXJi ZVXkyAxrdlqbC8IISFCMbgVZc/pQNjLo9Dk+IgkdCz6DZazuxrUnsDNfVQg6J/vHUolf JOAo4IzCQfC832v0zVj7T8D3TymeAM/bxVHexoNQgW6KAfGtJE4fwq+JGYUmFHYNMkbi 5muhlIPWR8wyiIN5jHJNeMz3S+OcEsodIsRdyTJXKuhQZ3PimCLHMBLrvaSBS3JQ5u8h WiWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2ZnndY20mR4TWJcOAQBF5lkz/LrWtY+rCSkBlf1xdKo=; b=qxlKb184q7YGfh7cWiE3nNs+0LvsQPKqLbkUNCGvBKwBPN6Z1xv9nj/KJTC29b+KgY 6e9BFEHBIsWgIeZM0T0VBAwiRtovL7RZr1gng0PDTj3hPyxJTK96bSr8T9l81/+wUw7d FN1CmufutMCOe8zoiy/BJoBFzfIloOEjHjCzm2q1tIBAUjyzzev88lE+ByPK4ZoiHtgv X+npExQToMg5YWWR4m0QUWWCrAG1Z/ZMe2XMb+sdGFMFt0aERYaIai6s8c9NMLJN9VqS tgGtWGVtTy+awLLWQyElf//BrP3DCAIIdPYyM7Az8qRLoFOahj23c5X65/cYxxu13Qsl EsEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DAvDNfCq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y4si11304479pfa.360.2022.02.21.21.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 21:21:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DAvDNfCq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 478C7B3E7E; Mon, 21 Feb 2022 20:52:46 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347427AbiBUJHY (ORCPT + 99 others); Mon, 21 Feb 2022 04:07:24 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:54508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347506AbiBUJB1 (ORCPT ); Mon, 21 Feb 2022 04:01:27 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1E7E624D; Mon, 21 Feb 2022 00:56:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D937DB80EAA; Mon, 21 Feb 2022 08:56:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24F3CC340E9; Mon, 21 Feb 2022 08:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645433794; bh=EteLPQ1xpo8u1pYKeNPetV3v8Y6SoK7eagmQ+X6IfdQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DAvDNfCqSwAkA1SeT/GbMB11cSkHNVgbUV+M9WiSCv6yb4ovCK5cWa4vu1G547rsa L11I7NJ6hNamxHDY2KAFR0JrMaK0ej3JVqFKXLIKY4zAih3MjnCGdZsEwsyDdtCcfi MEK/NCl5Wc8z9K7bCCYgc67GjCu58A6VCFV8TiJE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Florian Fainelli , Wolfram Sang Subject: [PATCH 4.19 44/58] i2c: brcmstb: fix support for DSL and CM variants Date: Mon, 21 Feb 2022 09:49:37 +0100 Message-Id: <20220221084913.303040483@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220221084911.895146879@linuxfoundation.org> References: <20220221084911.895146879@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafał Miłecki commit 834cea3a252ed4847db076a769ad9efe06afe2d5 upstream. DSL and CM (Cable Modem) support 8 B max transfer size and have a custom DT binding for that reason. This driver was checking for a wrong "compatible" however which resulted in an incorrect setup. Fixes: e2e5a2c61837 ("i2c: brcmstb: Adding support for CM and DSL SoCs") Signed-off-by: Rafał Miłecki Acked-by: Florian Fainelli Signed-off-by: Wolfram Sang Signed-off-by: Greg Kroah-Hartman --- drivers/i2c/busses/i2c-brcmstb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/i2c/busses/i2c-brcmstb.c +++ b/drivers/i2c/busses/i2c-brcmstb.c @@ -645,7 +645,7 @@ static int brcmstb_i2c_probe(struct plat /* set the data in/out register size for compatible SoCs */ if (of_device_is_compatible(dev->device->of_node, - "brcmstb,brcmper-i2c")) + "brcm,brcmper-i2c")) dev->data_regsz = sizeof(u8); else dev->data_regsz = sizeof(u32);