Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51C4AC77B62 for ; Tue, 14 Mar 2023 01:50:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230227AbjCNBlR (ORCPT ); Mon, 13 Mar 2023 21:41:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbjCNBlO (ORCPT ); Mon, 13 Mar 2023 21:41:14 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 751AF733BE for ; Mon, 13 Mar 2023 18:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678758073; x=1710294073; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PGk3sCWW4GKxrRnzP/5NGc1o5+9sx46cLfioCRVccX4=; b=LxCUU1SK+lq9BJHu/fVJ9TSC7rn/7UCYpwDMhhtC7Spg1+/OK8nNcWCV LBaeYcT1jkGXeJuijNFGAu37gmy+hBx/c5oGUprWnzJeDpXKqbvZRydqi 8SUXlLmZPR+Ugc/WG7hWcF4p2/g7zWhdbcEWBxT6aiq0pHLJd2yt2y6cO InRHdeoyOB0Y9IAKzF1ooAD5BHb7/vIanCVuLZkfPNE9enPYJCm1UD/Qr 3P+HFpnrNTfvO22tKYGlCzI6EmaDs6P2gAOvyONncB5EASYhRV4FJpdsU qmtD3t4BhkFZ5MJsG5q49U6CkCgCBJH+iLOJiYk9Ao2tTNYirI02pdMGc Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="316949219" X-IronPort-AV: E=Sophos;i="5.98,258,1673942400"; d="scan'208";a="316949219" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2023 18:41:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="711327350" X-IronPort-AV: E=Sophos;i="5.98,258,1673942400"; d="scan'208";a="711327350" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2023 18:41:08 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH 02/16] soundwire: intel: remove stale/misleading comment Date: Tue, 14 Mar 2023 09:53:56 +0800 Message-Id: <20230314015410.487311-3-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314015410.487311-1-yung-chuan.liao@linux.intel.com> References: <20230314015410.487311-1-yung-chuan.liao@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pierre-Louis Bossart The PDIs don't really have a notion of rates and formats, only channels are relevant. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao --- drivers/soundwire/intel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index 20067f9cd128..924dff670170 100644 --- a/drivers/soundwire/intel.c +++ b/drivers/soundwire/intel.c @@ -1056,7 +1056,6 @@ static int intel_create_dai(struct sdw_cdns *cdns, if (num == 0) return 0; - /* TODO: Read supported rates/formats from hardware */ for (i = off; i < (off + num); i++) { dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, "SDW%d Pin%d", -- 2.25.1