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)
commitb5848c814cdb6ea87f77559a143c464101330c7e
treeb829c5075e31e30689a9c2dc0a9ba2ad226ea63c
parentbbf53b95ed9521625e5867522cc057bd8f1320b1
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