From patchwork Fri Jun 19 03:14:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 191157 Delivered-To: patches@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp140842ilo; Thu, 18 Jun 2020 20:14:10 -0700 (PDT) X-Received: by 2002:a63:5024:: with SMTP id e36mr1290428pgb.438.1592536450617; Thu, 18 Jun 2020 20:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592536450; cv=none; d=google.com; s=arc-20160816; b=lX/NbwonCNV4zOEBR86Ea3w5uJL4v5y9/3UI+Us27ihC6aZ1hzyONFPf49H/UEvtKE 2rNZ8QEiEFcS8dE9uiykZJweWcX//bcaHrkYV3B4pJA5+m/aW87BDMEOJFuK3DMfiNMg 9DY+XWRwnNS6D/vctbAf5a+ofzOS4CblgMc6yNK/WX0vutFd6fBy4fPbFqeIrA6YR6mu rH4MDl+kJNAJoN5xUcdeODmkBphdTTmdu1AQGtNy4Joc/9covLi8jaUGrnm+9wjji6Y5 /M2YhmVisDxGrC1VNuZXBTukedonXH3GyJOGMZOtz7wJeCC44opOlBXiHnYCtdJNDoMy 16hQ== 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=07k7/aElZ8IDLCRU1K4WL2sU+mJSMesA92lX9Cgm4xc=; b=CPWjrx0a4NE2l9xlPOQIFi1bgVa38Y5V8YN5oWV5CEOM7oSh26/is5p7QvkIzPmEkm eASGjMtUJZVkUnxjwLwmxPUKG0UzEN8cAw6x3yGYq2imLQjt6zywQ1RxNZCG4Zs45CzI dQl9pm4HBS90oGVg5VyHC1mRm19ICrhLj7tQl3bTKO/HvK2fRpwkftLoxM0itVx9SYYE Qq7zRFVzl0Z2tYsZWNZF/8loLIno5TyLqQkoFcQ0hCdlwOUCFbYMQZgnRHf9u+Bu8rb3 p7SG+FptmLxGozRy1ToNU5Jc/ix74GBZzwP/rZpOu8G0K7iAAitvan6XTv+ZV3FzAoxm SzRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jtNMIWpC; 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 i10sor6007279pgm.26.2020.06.18.20.14.10 for (Google Transport Security); Thu, 18 Jun 2020 20:14:10 -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=jtNMIWpC; 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=07k7/aElZ8IDLCRU1K4WL2sU+mJSMesA92lX9Cgm4xc=; b=jtNMIWpCdbUvuwaeyg40ayk1MkX3OBzqXRCdE2UYXvjV9o8dIAvuVO2NSvYqEi5t0F 4tqrZ8VeiUZOScf6O7CzKyIWPP7XWwOy+fswvSqLV7vuZvoxwgrzGIuw+4PyiIt1rDOU yYyZvXsrq5g8glNsjNH8wMcUQ3CYIw7tioOhjtGC9CYyiv0HyIK0kgfKw87izG6+7g0r F/BUxjjzcEHBNtqGczqVrOvqUGj0NSv0cE+IBU2V8SFdXs43jV23phebv4Ulr22UdneX pXmV1JHmu5zgaA3rkzNmoO7aplf7u0kYlZh6EOKVfg9ET48WARQxgaWrcLYJYp+182zk bGCA== 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=07k7/aElZ8IDLCRU1K4WL2sU+mJSMesA92lX9Cgm4xc=; b=YA03Mdgr7fgvp9Ouar/FN0QgmHOoqGhNpbQBpEpC1m8VeRiHtG2Cx9fBPI7OMP/xkt PQ/8evQPRTO9cybSs3m3BpktUl0C5hWhUGZ1nAVUUhZfWxan9d9U9kLhAe/WI1l5W/Ws 2hLwIQRy2H7fECou8G+6tnNrNO3q6E5dPIOAGP/pO0wrMhlsGsogEFvaoOkLrh3y8qDv zW6Fip0mNKasbVitMCywNiVCmnTCKQmNHb8BPWJ2BiBjpAb/dXnu2pPXtTd+OCPTv1vA glv26SlXl3a4JAUiuwDN7D7ZIo2kg9qsMZsgJnZRWDI0h+cb4OHBd6pMhh9RC2PHTN24 w89g== X-Gm-Message-State: AOAM5306eDbDBHGLMnlIbVzWaHjvux3nafaDckwl52sN0wYAloxKaVMt uzSqRO8r/2ygm6XGhYfeeNdxS0QW88jI8w== X-Google-Smtp-Source: ABdhPJwGwCVcBLgClj3L2vTEWGSoJjxxWLP+tqv/lhVv4JWDOx2UhrGvfsXrcTPDwl8DUTPlqWO5Wg== X-Received: by 2002:a63:fa4d:: with SMTP id g13mr1374296pgk.26.1592536450109; Thu, 18 Jun 2020 20:14:10 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id u61sm3842579pjb.7.2020.06.18.20.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 20:14:09 -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: [PATCH v3] ASoC: qcom: Kconfig: Tweak dependencies on SND_SOC_SDM845 Date: Fri, 19 Jun 2020 03:14:07 +0000 Message-Id: <20200619031407.116140-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 via imply. 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 --- v2: Switch to using imply as suggested by Srinivas --- 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 f51b28d1b94d..0ea4cde9f4f0 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 && SOUNDWIRE + depends on QCOM_APR && I2C && SOUNDWIRE select SND_SOC_QDSP6 select SND_SOC_QCOM_COMMON select SND_SOC_RT5663 select SND_SOC_MAX98927 - select SND_SOC_CROS_EC_CODEC + imply SND_SOC_CROS_EC_CODEC help To add support for audio on Qualcomm Technologies Inc. SDM845 SoC-based systems.