1. 17 6月, 2014 1 次提交
    • T
      ASoC: fsl-ssi: fix do_div build warning in fsl_ssi_set_bclk() · acf2c60a
      Timur Tabi 提交于
      do_div() requires that the first parameter is a 64-bit integer,
      which but clkrate was defined as an unsigned long.  This caused
      the following warnings:
      
       CC      sound/soc/fsl/fsl_ssi.o
      sound/soc/fsl/fsl_ssi.c: In function 'fsl_ssi_set_bclk':
      sound/soc/fsl/fsl_ssi.c:593:3: warning: comparison of distinct pointer types lacks a cast
      sound/soc/fsl/fsl_ssi.c:593:3: warning: right shift count >= width of type
      sound/soc/fsl/fsl_ssi.c:593:3: warning: passing argument 1 of '__div64_32' from incompatible pointer type
      include/asm-generic/div64.h:35:17: note: expected 'uint64_t *' but argument is of type 'long unsigned int *'
      Signed-off-by: NTimur Tabi <timur@tabi.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      acf2c60a
  2. 12 6月, 2014 1 次提交
    • G
      ASoC: fsl: Fix build problem · 3d5f615f
      Guenter Roeck 提交于
      Commit 43248122 (ASoC: fsl-ssi: Use regmap) removed struct ccsr_ssi.
      Unfortunately, the structure is still used. This causes
      mpc85xx_smp_defconfig and mpc85xx_defconfig builds to fail with
      
      sound/soc/fsl/fsl_dma.c:926:50:
        error: invalid use of undefined type 'struct ccsr_ssi'
        dma->ssi_stx_phys = res.start + offsetof(struct ccsr_ssi, stx0);
      ound/soc/fsl/fsl_dma.c:927:50:
        error: invalid use of undefined type 'struct ccsr_ssi'
        dma->ssi_srx_phys = res.start + offsetof(struct ccsr_ssi, srx0);
      
      Fix by using constants, similar to original commit.
      
      Cc: Markus Pargmann <mpa@pengutronix.de>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      3d5f615f
  3. 03 6月, 2014 15 次提交
  4. 02 6月, 2014 9 次提交
  5. 01 6月, 2014 14 次提交