Эх сурвалжийг харах

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 <[email protected]>
Ramprasad Katkam 6 жил өмнө
parent
commit
e80ab29892
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 5 0
      soc/Kbuild

+ 5 - 0
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