
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 <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
21 lines
468 B
C
21 lines
468 B
C
/*
|
|
* 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
|
|
|