]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: Add the field "is_sdw" of private data
authorOder Chiou <oder_chiou@realtek.com>
Wed, 5 Feb 2020 02:28:56 +0000 (02:28 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 11 Feb 2020 11:22:48 +0000 (11:22 +0000)
commitbbd8dd0909829a080dc713c67c95eb49853cb5f3
treeb829c5075e31e30689a9c2dc0a9ba2ad226ea63c
parent89b43adf4cd078fc48c331d438a0846332aad89d
ASoC: rt5682: Add the field "is_sdw" of private data

The field "is_sdw" is used for distinguishing the driver whether is run
in soundwire mode or not. That will run the separated setting in runtime
to make sure the driver can be run with the same build between i2s mode
and soundwire mode.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link: https://lore.kernel.org/r/980b97e1ab9c4fab8bd345ec2158f1fd@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682.h