Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d2b7ae9 authored by Ben Dooks's avatar Ben Dooks Committed by Mark Brown
Browse files

ASoC: s3c-i2s-v2.c fix for s3c_i2sv2_iis_calc_rate



The definition of s3c_i2sv2_iis_calc_rate was never
renamed from s3c2412_iis_calc_rate, so rename this
to allow the build to work.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 01c4cad4
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -473,7 +473,7 @@ static int s3c2412_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai,
/* default table of all avaialable root fs divisors */
/* default table of all avaialable root fs divisors */
static unsigned int iis_fs_tab[] = { 256, 512, 384, 768 };
static unsigned int iis_fs_tab[] = { 256, 512, 384, 768 };


int s3c2412_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,
int s3c_i2sv2_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,
			    unsigned int *fstab,
			    unsigned int *fstab,
			    unsigned int rate, struct clk *clk)
			    unsigned int rate, struct clk *clk)
{
{
@@ -531,7 +531,7 @@ int s3c2412_iis_calc_rate(struct s3c_i2sv2_rate_calc *info,


	return 0;
	return 0;
}
}
EXPORT_SYMBOL_GPL(s3c2412_iis_calc_rate);
EXPORT_SYMBOL_GPL(s3c_i2sv2_iis_calc_rate);


int s3c_i2sv2_probe(struct platform_device *pdev,
int s3c_i2sv2_probe(struct platform_device *pdev,
		    struct snd_soc_dai *dai,
		    struct snd_soc_dai *dai,