Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2885126rwb; Mon, 19 Sep 2022 11:25:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7u0ItFgwe7OXeChxKzdsKZTvxBEfD4eTzPjZCiBeUieJo0Uh1JCCv3ggE3nRH5f8uZByco X-Received: by 2002:a05:6402:90d:b0:443:ef4c:480f with SMTP id g13-20020a056402090d00b00443ef4c480fmr16644412edz.128.1663611953443; Mon, 19 Sep 2022 11:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663611953; cv=none; d=google.com; s=arc-20160816; b=Fy+aQt8GEKHEcknUPZeEGQMpTVj9ukcphrqrJQRzOcqurwRVjZ87vaAWB0jAmAhH27 gXt4BQ1W2tGK+qP3/bKfoSlyege0MU3W13BtH+QKAEb+H78VzRwMUHDFJMBx1+0ZFSHe SfzB5JMWopaLV7MG1nPgnqyVYF/OaYbiaGDAKamjrtYB1/G78u24RaFE0IcXe6aqxARu xlgjxgPIYtGWyiLWidBnGnejEx2f3lv2JgM/8vCr6nnp5mVg0ofCAbMP+0VtC8cgAxH3 9Y7jKfHdvriSpCkSNekUFWv3KQ1pSHXeYdWw58QIUHh6COL4mZNS9y+ANb3m6OCs8/Hy Ir5w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LZ0KKvBOhyM+Jci1Fmt/WUALDwY2Rbz1xIk+jupbkqA=; b=WPVrPk8iFAsPnRatyxRVj9kBEwh4xp08InZbZXSg/Dq4fbwG44cMbZY4qbLR2en4kk Idg1Lg5c0vOHkbPn24R9Bkl0WW4wofCcQn6uVvRBvvLRT+FspVOwS5XsRUQtUPNeIsWS DlL4uv+LIyKM3C/kTmEfjRQttvjrEUmfgvy2/9mTemeWtCo3GZF6eRJR7kBHfVxOJL+a C8egHUD0uOe/jrJB9vB3vbnCOilgpiIXMPdVffg13KDbxWRJb36FIo43evSdo4oI0UoO 2veDNZ4LWaX7TzNtZ+uOgWEPRvTa52MvOoYPqGOJrZt72gfF+UTjypfgaPOlanEiBnRg ga/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OKLOAoV4; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n14-20020a05640205ce00b0044e9f8ecd96si10620820edx.609.2022.09.19.11.25.28; Mon, 19 Sep 2022 11:25:53 -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=@intel.com header.s=Intel header.b=OKLOAoV4; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230244AbiISRuq (ORCPT + 99 others); Mon, 19 Sep 2022 13:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbiISRun (ORCPT ); Mon, 19 Sep 2022 13:50:43 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B1040BFB for ; Mon, 19 Sep 2022 10:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663609841; x=1695145841; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vD1pc/2OxnyeJnj8kQs4yhBwTv67WRUcJ1Mpirr7VTE=; b=OKLOAoV4t5cj/e20CrIazQfujv+ulFcF7nOEdx0YZ5NEsdZWCKKb0sCV 9hg6FqVn97pqETtJl8yj6lRzRqcl9m2nlr0/6iZZIR+0jMtvO1ll+2FNY yiIyEUSpoXLVKr0c3TY9kWni1CJ9wksf4+jccOQ3G2oqKNMA5+YECudI8 +6rqlxDgQxcuM8Jannrr6IEpoTtOSX5R+dCdVMW9ZWYUO9YaTm350b7dE wBOcArfi5RCLZ3tBclU7j/NigTN1XEa3lobL8i9gF0mcnID0/wxNQJeMG JW0AyaEwZ1jh3W+LdFUwVkP/op6nR4ycRZK+6l6dvA5CcTh0jJiJqjj3l Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10475"; a="363429107" X-IronPort-AV: E=Sophos;i="5.93,328,1654585200"; d="scan'208";a="363429107" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2022 10:50:41 -0700 X-IronPort-AV: E=Sophos;i="5.93,328,1654585200"; d="scan'208";a="863658357" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2022 10:50:39 -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 00/11] soundwire: intel: cleanups/fixes before code reorganization Date: Tue, 20 Sep 2022 01:57:10 +0800 Message-Id: <20220919175721.354679-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 This is a really big cleanup to introduce well defined helpers, prior to a larger code reorganization. Pierre-Louis Bossart (11): soundwire: intel: fix error handling on dai registration issues soundwire: intel: simplify flow and use devm_ for DAI registration soundwire: intel: move DAI registration and debugfs init earlier soundwire: intel: move all PDI initialization under intel_register_dai() soundwire: intel: remove clock_stop parameter in intel_shim_init() soundwire: intel: move shim initialization before power up/down soundwire: intel: remove intel_init() wrapper soundwire: intel: simplify read ops assignment soundwire: intel: introduce intel_shim_check_wake() helper soundwire: intel: introduce helpers to start bus soundwire: intel: add helper to stop bus drivers/soundwire/intel.c | 775 +++++++++++++++++++------------------- 1 file changed, 380 insertions(+), 395 deletions(-) -- 2.25.1