rk3328_codec: set output gain to the value found in linux
According to Linux code the new value should correspond to 0dB gain while the original value corresponded to 6dB gain which may be uncomfortable for some output types. MFC after: 1 month
This commit is contained in:
parent
507fdedd83
commit
2d1de2d553
@ -364,8 +364,8 @@ rkcodec_attach(device_t dev)
|
||||
RKCODEC_WRITE(sc, CODEC_HPOUT_CTRL, val);
|
||||
DELAY(1000);
|
||||
|
||||
RKCODEC_WRITE(sc, CODEC_HPOUTL_GAIN_CTRL, 0x1f);
|
||||
RKCODEC_WRITE(sc, CODEC_HPOUTR_GAIN_CTRL, 0x1f);
|
||||
RKCODEC_WRITE(sc, CODEC_HPOUTL_GAIN_CTRL, 0x18);
|
||||
RKCODEC_WRITE(sc, CODEC_HPOUTR_GAIN_CTRL, 0x18);
|
||||
DELAY(1000);
|
||||
|
||||
rkcodec_set_mute(sc, false);
|
||||
|
Loading…
Reference in New Issue
Block a user