From e80ab29892a3ea7d601405e86afdff21226dbf94 Mon Sep 17 00:00:00 2001 From: Ramprasad Katkam Date: Wed, 13 Jun 2018 07:00:59 +0530 Subject: [PATCH] asoc: swr: Add config flag for New soundiwre driver compilation Add new kconfig to control compilation of new soundwire driver Change-Id: I6eb8b30de9f6dc2ffa152b6dfffbc2b02d0a990c Signed-off-by: Ramprasad Katkam --- soc/Kbuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/soc/Kbuild b/soc/Kbuild index aee1a1fb6801..f04631b7acd4 100644 --- a/soc/Kbuild +++ b/soc/Kbuild @@ -92,6 +92,11 @@ ifdef CONFIG_SOUNDWIRE_WCD_CTRL SWR_CTRL_OBJS += swr-wcd-ctrl.o endif +# for new soundwire driver +ifdef CONFIG_SOUNDWIRE_MSTR_CTRL + SWR_CTRL_OBJS += swr-mstr-ctrl.o +endif + ifdef CONFIG_SOUNDWIRE SWR_OBJS += regmap-swr.o SWR_OBJS += soundwire.o