Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3815751rwe; Mon, 29 Aug 2022 21:50:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR4KRsIiyZ3FUt6YWNVLsKJqWUcb4jV1LUyNN7xDOpko7c7rpHHO2w6QMjt8zky2qjMYKqBn X-Received: by 2002:a17:907:3188:b0:741:4bf7:ec1a with SMTP id xe8-20020a170907318800b007414bf7ec1amr9229352ejb.448.1661835038242; Mon, 29 Aug 2022 21:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661835038; cv=none; d=google.com; s=arc-20160816; b=Y8EnHtT9NlnWWgIpLPbVNbjuQBOB1qAqKv0MELaw+mYxu28mWPXeOQnR2OH+YsY+no WP+N6FP1i0ZSOntfYLj+K3yxXgimkSixgRTwbZFGJq/L3mLzk6/d16aOWTkkhwDhwne0 E8dC/MXI60n+KcsYMVoT3NKqHRFgIE60FGvQmqUGjZg4uBlsfyRB/uamdvFqgVhoW0yL Ga9UDuN1gVl4xiuD4FFBok1NOJhcRaq13AOlJ/wvOFa+f6z/OWZx6fwSz4+Q1wrW+yaZ kuaLp/UtEFpGr66SyIPo/HzIpo//Yi4T/rJNYiKjRYpC9ueK7gjx5dPoF291X9p2vQz9 uwyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hdlYasXt7t5QJRlhHMzVJdrPRLs3tan5AfvgvkOCFPE=; b=di/lv4MgWI+ivS17L+THSV0wOiyjiZBDFFSU5qScAjPSFbX2uDstOJ9wQnFQXx9Sq8 wK1Sw0xSExYZiJnpmp0H7x+lz/1fUheBI5hm3p2+yTA+EDJQSLQWexfEkoD6GggnPbs0 xmm+dOto1eHOqnizR5TYcRwBlRxB8jaImKp8jIs5Sd2iuJkPwehi4/Q6to1grqTkpU64 x92SSsHh4ggEZsEwoVu1FP3zFA2tguvVNTS1Gf0jyzXJQKgvDuoka9mq1wf8g3gHq8h1 zAEV5vhOhkayH3c9mR7sfZyKt+0Xmbk3rbZuSCE06Mkye1dnhg8Eq4CIetjr2GOjn0UX ayDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qlfOsyLz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a056402358f00b0043dc410c5ddsi10040138edc.484.2022.08.29.21.50.12; Mon, 29 Aug 2022 21:50:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qlfOsyLz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbiH3ErE (ORCPT + 99 others); Tue, 30 Aug 2022 00:47:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbiH3ErC (ORCPT ); Tue, 30 Aug 2022 00:47:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 332F2AB434 for ; Mon, 29 Aug 2022 21:47:01 -0700 (PDT) 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 B1517B8162D for ; Tue, 30 Aug 2022 04:46:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC4CDC433C1; Tue, 30 Aug 2022 04:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661834818; bh=o/BsIPtg6md1OkJKd4gG8ixwnMhUgGQo7v8th2g+4fg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qlfOsyLzQPR8vST6u16a00SupkgTKPLMi5QSIiqMCwlliNu6iYM6mKSClKLLjKkvl px5ZhJSQJWgASXjlOoZTkju15+FxmB1Bp1LW8/o/S/agnFqw5lV2R+whft4rm/M4lI imHDPcojO/U9exi5H99rCE3X83Ke9fSjhii8F4YVnBlsjZXh0Zsl7gBsYtdHncoPHA O6/M6uhOKwew5fFgRlFaMJm94IHYkF3e0OTyYS4A+5f8gZq3ztks5P9Y0maMw5XfJz gTRpv0mC1ec60jgIzK43d6/7qJklT+WtEfvI5Bo0D82Y33eOWmPWDcVtO7nuRAPYmi b710z4H2BtXyg== Date: Tue, 30 Aug 2022 10:16:53 +0530 From: Vinod Koul To: Bard Liao Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: Re: [PATCH 0/3] soundwire: allocate device_number with IDA Message-ID: References: <20220823045004.2670658-1-yung-chuan.liao@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220823045004.2670658-1-yung-chuan.liao@linux.intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 23-08-22, 12:50, Bard Liao wrote: > The device_number is currently allocated in the scope of each bus and does > not need to be unique at the system level. > This leads e.g. on Dell devices with three or four Device1 on different > bus segments. To make the device_number unique at the system level, and > unified with the HDaudio/iDISP SDI values, this series allocates the > dev_number with an IDA restricted between 4 and 11 (inclusive). Applied, thanks -- ~Vinod