mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 18:22:27 +02:00
jz4740-codec: Enable DAC Switch by default.
This allows audio playback without having to enable the DAC Switch before.
This commit is contained in:
parent
4781d4c068
commit
e9c3c9b628
@ -444,6 +444,10 @@ static int __devinit jz_codec_probe(struct platform_device *pdev)
|
||||
|
||||
jz_codec_codec = codec;
|
||||
|
||||
snd_soc_update_bits(codec, JZ_REG_CODEC_1,
|
||||
JZ_CODEC_1_SW2_ENABLE, JZ_CODEC_1_SW2_ENABLE);
|
||||
|
||||
|
||||
platform_set_drvdata(pdev, jz_codec);
|
||||
ret = snd_soc_register_codec(codec);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user