On 19/07/2019 00:02, Pierre-Louis Bossart wrote:
The existing code has a mixed select/depend usage which makes no sense.

config SOUNDWIRE_BUS
        tristate
        select REGMAP_SOUNDWIRE

config REGMAP_SOUNDWIRE
         tristate
         depends on SOUNDWIRE_BUS

Let's remove one layer of Kconfig definitions and align with the
solutions used by all other serial links.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
---
  drivers/base/regmap/Kconfig | 2 +-
  drivers/soundwire/Kconfig   | 7 +------
  drivers/soundwire/Makefile  | 2 +-
  3 files changed, 3 insertions(+), 8 deletions(-)

I have been using some thing similar in my setup.
I did test this with Qualcomm WSA881x codec.

Tested-by: Srinivas Kandagatla <[email protected]>

--srini

Reply via email to