Message ID | 1500019873-30391-1-git-send-email-oder_chiou@realtek.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d26ed933581d924937aa92251afe1751cf86661c |
Headers | show |
On Fri, Jul 14, 2017 at 04:11:13PM +0800, Oder Chiou wrote: > The patch modifies the default value for ASRC function. It could prevent > the pop noise and recording no sound with ASRC function. This doesn't apply against current code, please check and resend.
diff --git a/sound/soc/codecs/rt5663.c b/sound/soc/codecs/rt5663.c index ac6dd25..c46d47f 100644 --- a/sound/soc/codecs/rt5663.c +++ b/sound/soc/codecs/rt5663.c @@ -60,6 +60,7 @@ struct rt5663_priv { static const struct reg_sequence rt5663_patch_list[] = { { 0x002a, 0x8080 }, + { 0x0086, 0x0028 }, }; static const struct reg_default rt5663_v2_reg[] = { @@ -509,7 +510,7 @@ static const struct reg_default rt5663_reg[] = { { 0x0082, 0x0000 }, { 0x0083, 0x0000 }, { 0x0084, 0x0000 }, - { 0x0086, 0x0008 }, + { 0x0086, 0x0028 }, { 0x0087, 0x0000 }, { 0x008a, 0x0000 }, { 0x008b, 0x0000 },
The patch modifies the default value for ASRC function. It could prevent the pop noise and recording no sound with ASRC function. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> --- sound/soc/codecs/rt5663.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)