From patchwork Thu Mar 26 20:28:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 184931 Delivered-To: patches@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp494543ilr; Thu, 26 Mar 2020 13:28:30 -0700 (PDT) X-Received: by 2002:a17:90a:8c09:: with SMTP id a9mr1912416pjo.154.1585254510086; Thu, 26 Mar 2020 13:28:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585254510; cv=none; d=google.com; s=arc-20160816; b=m1Qo55r+anDJjHgqZtf2G3AmGXmty2PV1pvK2sPP/eNBrQt7OdG51lhMEgN90fHlL/ wHOO7OQx67Et1y0f69NdmaOcSYoDUCo4MM1x+eXMJ35HmyqpKGz7Ynd/+hcNTa2yWexk eE8afsrruG6HERw8Pveo7anhJZFDPR45DlFIHJ3X5zTFeQrSi1zHY89Qi9gXBpV9F2mc wWvE9lzHJ2ZuJ8qoPNl5y2PczaigLy0+YUDiifXWqTluJUcW+pY6gADAOUv6sBjVQ1Qr pr3b2ECsL5GNHssiyr2ewVXXjjr45MGZ7rhwV6p/FEUIXRtbw3w+CiaQEyZ3hJpRiMrC JVEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=Xte6JTYhfOTcgtkbBUqBG8iaUvqvtXol2sJNIPpD2qg=; b=Kq6u0S0wuBO/WEVx+D5l85mEln470U3FXaQgPOaYXMZFxJIKgND9mKSTgY/u5mQFup 3k1ohar/g2wK8XGfaeXjkLfHdAqBKPU9OGwqwH49JoCvgmvdhGCcz6AlH5VWQ2qYOUFg H8nZUbEBVRzHTFu1KQEV/2PnbsoF1WLpmaztZMAtf5cd1sp26/7i7ZetO2vdbzNT+q1G ZYqP3Ykzcc/b42KEt+/miPIJoUZ3wqZWBGQsl05xu7OOuojrH9XOe5VN/yRYE/monlTy hO+3m4hSIqcN7J9VjZ/hNQUQvyZRYDlcuE1hIJN7nFaXevgF0LOzceo21QDF7kBozaLo HFVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MLPuirHG; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id g2sor3959970pjv.16.2020.03.26.13.28.29 for (Google Transport Security); Thu, 26 Mar 2020 13:28:30 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MLPuirHG; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Xte6JTYhfOTcgtkbBUqBG8iaUvqvtXol2sJNIPpD2qg=; b=MLPuirHGxydXDBDRZ/xS5K6PiE7OSPGqDuv1UUixk/NsNG4Ms77hhxCR1N5IgaN+VZ Uzk4cKJmgTNuS9TWCy8yHKM3yq8mkwR9mjDjNfaBHz4qjmU1tUABlldm9arG+HGnpfVQ CwgIs1L8aV4hlb4nve2gu76drB5ebHn2GNqqJ2P8CVMdb7hho7tXSYlTnwcoGNO/Gge6 0V69tqDwVk0mr31mszkfpb2xsleKtpCXA4Rcv/hqq6nl2C3kYwZ69OWx/Cqwv09d9Q7E w3jFhjx/V9eOXuaCdSKdK9DDOJiI21QW1ceJfqo6PALNdD7aD7ebxv2vxyVWCPFRx7U3 weoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Xte6JTYhfOTcgtkbBUqBG8iaUvqvtXol2sJNIPpD2qg=; b=B2zW+0FOPORAxJ/Xb9O5HjUWzdQF6uX8B0k1Dy26spStEn9FdAva/JQy0Jtt2+/jE3 RsIGZkYzQSMwFsFmWLSmgA62tw7l2OesAwTeMsxsP4BFM7Hba1IP2izKGcszxe7af53a GNDN1iD8aOh2Day4kBQNxvNKRC2zPe12Hm+gsYtj7zPQ0DOxYCH3JtYjbnZIOMJSo+9f iMO8E9+0aHLYiw8G1vEjyYs7hXTQq4oWQyH8Bs8cfsXAwnxUJ84a4bZWla0s3xo5CcyD +vEX67AOo/ztkgH0apUBE+R9oTIScyfkXBK9hSF4d5ngGwg+yBknpnSGe9e28jdi/oau ZKGA== X-Gm-Message-State: ANhLgQ26azZA+CgXRRI6xQneunwKLz84WvLoqsl8DM/BSXfujg9ZCQRA 2OovHlAYPFaiaLvkHRtZz69gc3uc X-Google-Smtp-Source: ADFU+vv8mMJ10BJLLfBfuu/iGF6cLP8/TyK5cqm4Nq49tE0IEbuHt6E21hY4YyuZiM/BTEDTCXZFNA== X-Received: by 2002:a17:90a:eb0f:: with SMTP id j15mr1891679pjz.139.1585254509470; Thu, 26 Mar 2020 13:28:29 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id r186sm2428879pfc.181.2020.03.26.13.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 13:28:28 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Srinivas Kandagatla , Rohit kumar , Patrick Lai , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Subject: [RFC][PATCH] sound: qcom: Kconfig: Tweak dependencies on SND_SOC_SDM845 Date: Thu, 26 Mar 2020 20:28:25 +0000 Message-Id: <20200326202825.80627-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 CROS_EC isn't strictly required for audio to work on other SDM845 platforms (like the Dragonboard 845c). So lets remove the dependency and select the related CROS_EC options if CROS_EC is already enabled. Cc: Srinivas Kandagatla Cc: Rohit kumar Cc: Patrick Lai Cc: Banajit Goswami Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-devel@alsa-project.org Signed-off-by: John Stultz --- sound/soc/qcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index 6530d2462a9e..6f1bc6ea130e 100644 --- a/sound/soc/qcom/Kconfig +++ b/sound/soc/qcom/Kconfig @@ -99,12 +99,12 @@ config SND_SOC_MSM8996 config SND_SOC_SDM845 tristate "SoC Machine driver for SDM845 boards" - depends on QCOM_APR && CROS_EC && I2C + depends on QCOM_APR && I2C select SND_SOC_QDSP6 select SND_SOC_QCOM_COMMON select SND_SOC_RT5663 select SND_SOC_MAX98927 - select SND_SOC_CROS_EC_CODEC + select SND_SOC_CROS_EC_CODEC if CROS_EC help To add support for audio on Qualcomm Technologies Inc. SDM845 SoC-based systems.