Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp681057pxb; Wed, 16 Feb 2022 01:52:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEOCtvYVbVn7Uk23NP/V69CK9AicPkln9MsLOpM6JhTtk1HMZqxlLUtRSSTe9STJv2lJXU X-Received: by 2002:a65:66ca:0:b0:363:d22a:29c4 with SMTP id c10-20020a6566ca000000b00363d22a29c4mr1623564pgw.398.1645005148476; Wed, 16 Feb 2022 01:52:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645005148; cv=none; d=google.com; s=arc-20160816; b=IIEU1d1ezPZejfLeO57i6h/uEsRk1Fc6U0BbjiDxqKDsii62u0/KVlJS6AgEjJoxzY d+GInOfuqwfuvuitGVD8peHjkET1e04X4VQ7D3SORZFCqxRDOVaFu4iKGifJzKRW6ayQ JTyi3Gbaj1drjv3bqPLdUFUGMG/y4LoE0xqdClx0OyX5ZmXh/eLCVlJ1djXXmmjbCWvo YM7DpFMk+dJT8yOV5ycD1P6rmCVsqF5PW1uG3E6Nhljb7DEUAwwTRX6Zj6mvZeJdUjD+ pmw307W3fi/bsIJ4obeKloCNUS4O7zeSd5ysv1dyIbCR2LxJ1Q6sjOIT/00ZoSsh6Yba I2CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QoQFxvFXOJq5Nyg1+xGiaBuh29FLfkCtV19vnGiHXH4=; b=WvC4gshOkoSXd+1eijNZqXRxRiegJwZgaBPU5MxbUQC/EL2Wt4Pzqd5bIjajgshC1E b9dKwPJg8TQ1mOb8Gvj2pICK9X1WgOAoaTDgbUUZpDVDHxI9HBsc6WulZj2PZ6ldLLVj mjMs7SbAQpHNLYeuS5BRUQlcnSCKOge802bqBoH2eli5u08j1m/TDX2d3bkp3WtDd/mi 2Ds6dg39Gi0UZyR5lWzQ/icbGEmm76KL2pKoha3sNI/qJByA3m2e3Sff1VizFJaRb//3 lE47iR2+4p4bTRFlJ7VRffenromRXSxLrTnztWEmLzGdbJYNEBKowMgoP2/HJjJCgn6y Qraw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qiTQeEpt; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c9si16532981pjr.56.2022.02.16.01.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 01:52:28 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qiTQeEpt; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9C0A8103B; Wed, 16 Feb 2022 01:51:54 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232531AbiBPJvj (ORCPT + 73 others); Wed, 16 Feb 2022 04:51:39 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:49714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232464AbiBPJvi (ORCPT ); Wed, 16 Feb 2022 04:51:38 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAF6A2B521C; Wed, 16 Feb 2022 01:51:15 -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 dfw.source.kernel.org (Postfix) with ESMTPS id E9D87616FE; Wed, 16 Feb 2022 09:51:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33E9FC004E1; Wed, 16 Feb 2022 09:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645005062; bh=0bBP7O0XYxaCF8Oh+43Ozdh5BeoEzCfjshF6waVQ+Z8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qiTQeEptSGPhGAmMwAq5weoKundd9sfyhN+N0YuW+E2XJRjI+hGiVcu7/jN+JFamV wGQ7U/pkpUUF/IGwRwXnzeJLN4A9qdlPNrD7scXVQ9SPRLBWUdypgqTdF77JJK78NA dma6fFibmgbGMDed0l2rs98/DkcxdCZR745MtkcKX5nykDbW88s7f5blDzsStPRdQK NeX8ceRdo9p8G/8PFaj7TCCKyB7w2h/T64DLuTw/fMYEljoOadrvdroUPmvK6wVJQi e3p/LZT/f8nsdv1zvkqQGfusmIH3DkuoyXvZfzc6Oaf5Iztm+Odq5/uIfhiJgUCT3Y 2GYUSWfiWsjEQ== Received: by pali.im (Postfix) id CDC1B7F4; Wed, 16 Feb 2022 10:50:59 +0100 (CET) Date: Wed, 16 Feb 2022 10:50:59 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Jerome Pouiller Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Kalle Valo , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "David S . Miller" , linux-mmc@vger.kernel.org, Ulf Hansson Subject: Re: [PATCH 1/2] staging: wfx: WF200 has no official SDIO IDs Message-ID: <20220216095059.how2bexndwenhs6h@pali> References: <20220216093112.92469-1-Jerome.Pouiller@silabs.com> <20220216093112.92469-2-Jerome.Pouiller@silabs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220216093112.92469-2-Jerome.Pouiller@silabs.com> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-wireless@vger.kernel.org On Wednesday 16 February 2022 10:31:11 Jerome Pouiller wrote: > From: Jérôme Pouiller > > Some may think that SDIO_VENDOR_ID_SILABS / SDIO_DEVICE_ID_SILABS_WF200 > are official SDIO IDs. However, it is not the case, the values used by > WF200 are not official (BTW, the driver rely on the DT rather than on > the SDIO IDs to probe the device). > > To avoid any confusion, remove the definitions SDIO_*_ID_SILABS* and use > raw values. > > Signed-off-by: Jérôme Pouiller Reviewed-by: Pali Rohár > --- > drivers/staging/wfx/bus_sdio.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/wfx/bus_sdio.c b/drivers/staging/wfx/bus_sdio.c > index bc3df85a05b6..312d2d391a24 100644 > --- a/drivers/staging/wfx/bus_sdio.c > +++ b/drivers/staging/wfx/bus_sdio.c > @@ -257,10 +257,9 @@ static void wfx_sdio_remove(struct sdio_func *func) > sdio_release_host(func); > } > > -#define SDIO_VENDOR_ID_SILABS 0x0000 > -#define SDIO_DEVICE_ID_SILABS_WF200 0x1000 > static const struct sdio_device_id wfx_sdio_ids[] = { > - { SDIO_DEVICE(SDIO_VENDOR_ID_SILABS, SDIO_DEVICE_ID_SILABS_WF200) }, > + /* WF200 does not have official VID/PID */ > + { SDIO_DEVICE(0x0000, 0x1000) }, > { }, > }; > MODULE_DEVICE_TABLE(sdio, wfx_sdio_ids); > -- > 2.34.1 >