From patchwork Tue Jun 16 06:34:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 187973 Delivered-To: patches@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp3381658ilo; Mon, 15 Jun 2020 23:34:21 -0700 (PDT) X-Received: by 2002:a17:90a:6886:: with SMTP id a6mr1721925pjd.170.1592289261336; Mon, 15 Jun 2020 23:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592289261; cv=none; d=google.com; s=arc-20160816; b=XMx8hDMYS8U+Tz1OS+NYe8ASPmxPPhvFj3BtAOt+iGlcKAya9YtFJ6U1lZR8QA1J1H qdkO9jhd/uEKf7jPPQKUdJ2fod70h7FqZ0qoc08VOh7kTiauBDu2yqpUsxx1fq/4w/O/ xoIWTJ3Yc4DBWlVBgzq8akRFC0Fb32S/U9oJUvYp3UODZdnGKp2oXKT4AbiA7Tf0rvm9 KH+wE483GWdkEasGEa/a4pdVE9p8SSeOB91FKoqe3LDwXnmyBSxLC7fNsdOr/p4laGXL 1mBkDS0u/13vSfcSS6WrywBsZkmNYmRfVFL+gPuxCmdVBQLJutLeMv8cxP+X6D2gGKw0 UBkA== 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=phw+ielG3h+twIh3+qC+uo7yVbqWNCPg00mlIiD4UHs=; b=YiNHiSJs/Py2CyRaGzZjZAgutmN0w0RG3VFHcX2v8rzby431PcovNl2Gkwq++sT9DI R+9zU/vCcFfTpB2px03d6T7sUy9InolgcxOEzg1fyQ/xaYiiqTgSg4D3MS7MUEZN3NLD ESSLAB8t1rWjF7/MOK+5AMbw2EWlPjTDs/ZFoI+viakPu1QZt1wQWm8zdOIIyApDqToR kTQIjv8ESjSladNjtrmGyt5xvp0J7RNO7xByDy4y0WLcsJLJpQNbSGZoa+meUoJUrGQQ UmftFc0r+g1SZWtK6vQUtrPtNapB/zNEEV0l5fND4pjKUBLtvZB4uKoP8lHerdzKHorH x98Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vQmypwTz; 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 187sor19661569pge.56.2020.06.15.23.34.21 for (Google Transport Security); Mon, 15 Jun 2020 23:34:21 -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=vQmypwTz; 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=phw+ielG3h+twIh3+qC+uo7yVbqWNCPg00mlIiD4UHs=; b=vQmypwTz1N5KmBRHLqcs8qJQ06YTIDRJr7maPiBvnEkOWhJZPp0zfiqeL6HOEpqQNf 1MJU4hciQzY2ovFdqGaxK8Fa/WqTYmMtL9BjmVzoZZNnugzjFkItw2zkqBKT62ano/sO oaCFtSuqV5ocWkJDIe0fNdo2lsPR6W3Y8+SoC00l/zqH5fcO7weVu5CtBH/FAq8p1tkr EvT1tw68stOx22zgily2gFfuLzXKHq1yx6w0onzrEiGDLjnNhldCrORr5aWea9Bq+Wzh IoIKUEgazeEDMHJDVFUbmDvQADRoFLKNetJ2/YIq9HA2Hiaeqhxp3Rq/ai0t3+m7eQFJ /LDw== 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=phw+ielG3h+twIh3+qC+uo7yVbqWNCPg00mlIiD4UHs=; b=BZETw05cUIpcHlhPCoJlTOzWgXupZO24i0xdiHKQEt62zxedS4im/g4v1OSWsHSaz+ z2Gl59TddLSKUS8tN23mZsKiRxnGlk5M228N++THpAbSRG1fcdI3nyS73z8USeJTaudi P/TYxVpf+qWvDGlrpahq+kaIDzWg6Veul5wEwa2trdM8uy1DAGySAYG8ujWqNGYE/sTF c4Q5kUcwn9IYtEUz8lZqJt7DckJHuI9rI0OXd3XFYqFLHsJrdK9Tg/MZucz9EvcyGt1d b7TrPPgFkQaqkJ4CkgtidAVXyeLsj2G0IW+DNr9TK7izY4rizKZ9E2bFMZ/BPCWcHKbu kIxQ== X-Gm-Message-State: AOAM531yYpRn4rfqaIYjx/8eY0Vxl7zqx9jANHVNKl3oAvxtjBTC+C0h 6qP+QygjyedHyln4wCQonUTpkR82 X-Google-Smtp-Source: ABdhPJwJBjn1wnHCWxLt8DOUjJGyDw0cq4C6RGxPSk5rHOAL1keX+nJqqTHahQfFmugYWCjhrUTPtQ== X-Received: by 2002:a63:e804:: with SMTP id s4mr1010573pgh.260.1592289260811; Mon, 15 Jun 2020 23:34:20 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id 140sm15669950pfy.95.2020.06.15.23.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 23:34:20 -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: [RESENDx2][PATCH] sound: qcom: Kconfig: Tweak dependencies on SND_SOC_SDM845 Date: Tue, 16 Jun 2020 06:34:17 +0000 Message-Id: <20200616063417.110263-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 f51b28d1b94d..0434f2c7d746 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 + select SND_SOC_CROS_EC_CODEC if CROS_EC help To add support for audio on Qualcomm Technologies Inc. SDM845 SoC-based systems.