mirror of https://gitee.com/openkylin/linux.git
ASoC: samsung: s3c2412-i2s: avoid hardcoded S3C2410_PA_IIS
The constant requires indirectly including a machine header file,
but it's not actually used any more since commit 87b132bc03
("ASoC:
samsung: s3c24{xx,12}-i2s: port to use generic dmaengine API"), so
remove it completely.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20200806182059.2431-27-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
83d74e3542
commit
dcacbc0f9b
|
@ -616,8 +616,7 @@ int s3c_i2sv2_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,
|
|||
EXPORT_SYMBOL_GPL(s3c_i2sv2_iis_calc_rate);
|
||||
|
||||
int s3c_i2sv2_probe(struct snd_soc_dai *dai,
|
||||
struct s3c_i2sv2_info *i2s,
|
||||
unsigned long base)
|
||||
struct s3c_i2sv2_info *i2s)
|
||||
{
|
||||
struct device *dev = dai->dev;
|
||||
unsigned int iismod;
|
||||
|
|
|
@ -83,8 +83,7 @@ extern int s3c_i2sv2_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,
|
|||
* @base: The base address for the registers.
|
||||
*/
|
||||
extern int s3c_i2sv2_probe(struct snd_soc_dai *dai,
|
||||
struct s3c_i2sv2_info *i2s,
|
||||
unsigned long base);
|
||||
struct s3c_i2sv2_info *i2s);
|
||||
|
||||
/**
|
||||
* s3c_i2sv2_cleanup - cleanup resources allocated in s3c_i2sv2_probe
|
||||
|
|
|
@ -49,7 +49,7 @@ static int s3c2412_i2s_probe(struct snd_soc_dai *dai)
|
|||
snd_soc_dai_init_dma_data(dai, &s3c2412_i2s_pcm_stereo_out,
|
||||
&s3c2412_i2s_pcm_stereo_in);
|
||||
|
||||
ret = s3c_i2sv2_probe(dai, &s3c2412_i2s, S3C2410_PA_IIS);
|
||||
ret = s3c_i2sv2_probe(dai, &s3c2412_i2s);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
Loading…
Reference in New Issue