Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3452624pxj; Tue, 11 May 2021 05:01:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjCNfLaoR2cd8iL6nizOPnuMHXN2jK9OTL7/w8TPE//N/4IkWZQ1iL8czq1SgujVnXquTH X-Received: by 2002:a05:6e02:ef4:: with SMTP id j20mr11678328ilk.253.1620734460192; Tue, 11 May 2021 05:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620734460; cv=none; d=google.com; s=arc-20160816; b=GM86Tq4iQhDCq4GsS2VoYRaVDjsN0Z528seC6W/adjReAC115g0YBPdrA2G4jb1m9c o76Lu1vplZNO9dZCdQw/AqrfzTSBpkPB/a0C+GM0bC1Yz9lEZmhLMUcpXqmtm6kVdSsh OBxt1nfNRScBwZZhEsfSMFc9coRS32VsM2ZP+LyZTM+jTw7vKFiTp87mtgNbBivz1bqt Ypx1pWpUqrfXLbcj9YNPxGt37/KAOySllFvBUnBFRAYusjbwFGmndMRzA0Rsrb+ockxJ IK/weH5Io8eSyXcx+M9Z55EgiOHrp1x6C5cwA7EjNmMXAYtHxDaHuxzJ0PoLphkf1wTY 4fWg== 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=CG2QXud9IwizKp4t1JSfFyu/la0+MliJPMpy8VD/jE4=; b=QPxNVC1RF3W++Q2Wuu+Ka6I5W9xWvrVCWVW0tcquiaP/mFUtKiMI04tVC+/7ffR+p/ IGwhHva0qV5wD3vK5v4q8/20wKgn/MNCJubM9R7Sc42h+C1Wwu20jCL4tfo/EkMpbard Ep6oTP64AoUqdZoDnoXXXE7zJlBFE1QMOMavv7xYC/UxrNzXRgCjFvF9Z7zdUruhjNoG 1tdJ2/UNrLn8lVBaC4NismOoVdAiP9A6E0+Vs5tzA71AJIgnI/bEj2by/XKWpoOTNc2c W9QEkZdsqoOCSxB+lOXmsuqvchVupaXTAmMvIUo5LO/475t2ySFagRVCyzRQJbeS3tL8 ZoJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZskWK1iq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si13967378iod.2.2021.05.11.05.00.47; Tue, 11 May 2021 05:01:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZskWK1iq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231476AbhEKMAI (ORCPT + 99 others); Tue, 11 May 2021 08:00:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:45656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231338AbhEKMAH (ORCPT ); Tue, 11 May 2021 08:00:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 15E56613BC; Tue, 11 May 2021 11:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620734341; bh=bCfMYBm9bj3DpdDPiHHkxHjc9hQjxEEHrRs4ALJlbKg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZskWK1iqCqh5h8yKujom1ymUXz8dJo6WA/XekhZx897r7VzrgMXFRxkKXqesa9Qfu PyHiFFZeShCr/Djy3F4fkOwX41cfwdWYXnZNdJ3aqqoGS6Ig61M4EL1ySOn5JHlEMr f24DpvoM8edviOojmGpf6Gbb+wwbz0Zfz33B2q2fY19/vsFE4KsBk6J9bdDnw3BqB1 QzL9znyThLMCLO83W1SD6ESQlsdDLsyM3S6B6oU2gaIEox9yCC2Rr7wBYxp9OO1USd IB1fXLngFMZuWF3YsiVVEHkEFANOH5NfMrzDtCQaXdhVKnPArrfwQIcItesxWy4XE1 ztBQeqbXsK33A== Date: Tue, 11 May 2021 17:28:56 +0530 From: Vinod Koul To: Bard Liao Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, rander.wang@linux.intel.com, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, bard.liao@intel.com Subject: Re: [PATCH] soundwire/ASoC: add leading zeroes in peripheral device name Message-ID: References: <20210511060137.29856-1-yung-chuan.liao@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210511060137.29856-1-yung-chuan.liao@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-05-21, 14:01, Bard Liao wrote: > From: Pierre-Louis Bossart > > We recently added leading zeroes in dev_dbg() messages but forgot to > do the same for the peripheral device name. Adding leading zeroes > makes it easier to read manufacturer ID and part ID, e.g.: > > sdw:0:025d:0700:00 > sdw:0:025d:0711:00 > sdw:1:025d:0700:00 > sdw:1:025d:1308:00 > sdw:2:025d:0700:00 > sdw:2:025d:0701:00 > sdw:3:025d:0700:00 > sdw:3:025d:0715:00 > > The use of '01x' for link_id and unique_id is intentional to show the > value range in the code, it's understood it does not actually change > the format. > > To avoid problems with git bisect, the same change needs to be applied > to the Intel SoundWire machine driver, otherwise the components can't > be found and the card registration fails. Applied, thanks -- ~Vinod