[alsa-devel] [PATCH] ASoC: fsl_ssi: Provide register I/O functions by default
Timur Tabi
timur at tabi.org
Fri Jul 19 14:04:43 CEST 2013
On Jul 19, 2013, at 5:55 AM, Mark Brown <broonie at kernel.org> wrote:
> From: Mark Brown <broonie at linaro.org>
>
> Use the ARM version by default as that's the more generally portable
> one, it doesn't matter if they work well on random platforms when the
> goal is only build coverage.
Ack
>
> Signed-off-by: Mark Brown <broonie at linaro.org>
> ---
> sound/soc/fsl/fsl_ssi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
> index c9974a4..e12a997 100644
> --- a/sound/soc/fsl/fsl_ssi.c
> +++ b/sound/soc/fsl/fsl_ssi.c
> @@ -36,7 +36,7 @@
> #define read_ssi(addr) in_be32(addr)
> #define write_ssi(val, addr) out_be32(addr, val)
> #define write_ssi_mask(addr, clear, set) clrsetbits_be32(addr, clear, set)
> -#elif defined ARM
> +#else
> #define read_ssi(addr) readl(addr)
> #define write_ssi(val, addr) writel(val, addr)
> /*
> --
> 1.8.3.2
More information about the Alsa-devel
mailing list