mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
ASoC: rt5663: Add the manual offset field to compensate the DC offset
The patch adds the manual offset field in the devicetree to compensate the DC offset that will be different between the PCB layout. It only can be measured by the real production. Signed-off-by: Oder Chiou <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
09b8852c75
commit
450f0f6a8f
4 changed files with 77 additions and 5 deletions
20
include/sound/rt5663.h
Normal file
20
include/sound/rt5663.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* linux/sound/rt5663.h -- Platform data for RT5663
|
||||
*
|
||||
* Copyright 2017 Realtek Semiconductor Corp.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_SND_RT5663_H
|
||||
#define __LINUX_SND_RT5663_H
|
||||
|
||||
struct rt5663_platform_data {
|
||||
unsigned int dc_offset_l_manual;
|
||||
unsigned int dc_offset_r_manual;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Reference in a new issue