08 Oct, 2011

1 commit


04 Oct, 2011

1 commit

  • Include to fix below build error:

    CC sound/soc/samsung/s3c-i2s-v2.o
    sound/soc/samsung/s3c-i2s-v2.c:573: warning: data definition has no type or storage class
    sound/soc/samsung/s3c-i2s-v2.c:573: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
    sound/soc/samsung/s3c-i2s-v2.c:573: warning: parameter names (without types) in function declaration
    sound/soc/samsung/s3c-i2s-v2.c:638: warning: data definition has no type or storage class
    sound/soc/samsung/s3c-i2s-v2.c:638: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
    sound/soc/samsung/s3c-i2s-v2.c:638: warning: parameter names (without types) in function declaration
    sound/soc/samsung/s3c-i2s-v2.c:677: warning: data definition has no type or storage class
    sound/soc/samsung/s3c-i2s-v2.c:677: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
    sound/soc/samsung/s3c-i2s-v2.c:677: warning: parameter names (without types) in function declaration
    sound/soc/samsung/s3c-i2s-v2.c: In function 's3c_i2sv2_register_dai':
    sound/soc/samsung/s3c-i2s-v2.c:736: warning: initialization discards qualifiers from pointer target type
    sound/soc/samsung/s3c-i2s-v2.c: At top level:
    sound/soc/samsung/s3c-i2s-v2.c:754: warning: data definition has no type or storage class
    sound/soc/samsung/s3c-i2s-v2.c:754: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
    sound/soc/samsung/s3c-i2s-v2.c:754: warning: parameter names (without types) in function declaration
    sound/soc/samsung/s3c-i2s-v2.c:756: error: expected declaration specifiers or '...' before string constant
    sound/soc/samsung/s3c-i2s-v2.c:756: warning: data definition has no type or storage class
    sound/soc/samsung/s3c-i2s-v2.c:756: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
    sound/soc/samsung/s3c-i2s-v2.c:756: warning: function declaration isn't a prototype
    make[3]: *** [sound/soc/samsung/s3c-i2s-v2.o] Error 1
    make[2]: *** [sound/soc/samsung] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

03 Oct, 2011

4 commits

  • Any driver that selects SND_SOC_WM8994 should also make sure that
    MFD_WM8994 is set, since the codec relies on the mfd code:

    sound/built-in.o: In function `wm8994_read':
    last.c:(.text+0x20160): undefined reference to `wm8994_reg_read'
    sound/built-in.o: In function `wm8994_write':
    last.c:(.text+0x20e68): undefined reference to `wm8994_reg_write'

    This solves the problem by selecting the MFD driver directly
    and adding extra 'depends on' statements to make sure that we
    respect the dependencies of that driver.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Mark Brown

    Arnd Bergmann
     
  • It is exported via resume callback of struct dev_pm_ops rather than referenced
    directly and so should be staticised.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     
  • Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     
  • According to the comments in include/linux/init.h:

    "Pointers to __devexit functions must use __devexit_p(function_name), the
    wrapper will insert either the function_name or NULL, depending on the confi
    options."

    Signed-off-by: Axel Lin
    Cc: Jaswinder Singh
    Cc: Ben Dooks
    Cc: Seungwhan Youn
    Cc: Jassi Brar
    Signed-off-by: Mark Brown

    Axel Lin
     

28 Sep, 2011

1 commit


23 Sep, 2011

4 commits


20 Sep, 2011

1 commit


16 Sep, 2011

1 commit


31 Aug, 2011

1 commit

  • Similarly to PLLs/FLLs some modern CODECs provide selectable system clock
    sources. When the clock is the clock for a DAI we do not usually need to
    identify which clock is being configured so can use clk_id for the source
    clock but with CODEC wide system clocks we will need to specify both the
    clock being configured and the source.

    Add a source argument to the CODEC driver set_sysclk() operation to
    reflect this. As this operation is not as widely used as the DAI
    set_sysclk() operation the change is not very invasive. We probably
    ought to go and make the same alternation for DAIs at some point.

    Signed-off-by: Mark Brown

    Mark Brown
     

24 Aug, 2011

3 commits


22 Aug, 2011

2 commits


16 Aug, 2011

1 commit


14 Aug, 2011

4 commits

  • Mark Brown
     
  • Add linux/types.h to fix this compilation error:

    In file included from arch/arm/mach-s3c2410/include/mach/gpio-fns.h:27:0,
    from arch/arm/mach-s3c2410/include/mach/gpio.h:27,
    from /home/anarsoul/work/pda-linux/linux-next/arch/arm/include/asm/gpio.h:5,
    from include/linux/gpio.h:18,
    from sound/soc/samsung/rx1950_uda1380.c:20:
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:29:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:30:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s5p_gpio_drvstr_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:57:2: error: expected specifier-qualifier-list before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:148:47: error: expected declaration specifiers or ‘...’ before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:156:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s3c_gpio_getpull’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:175:24: error: expected declaration specifiers or ‘...’ before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h: In function ‘s3c_gpio_cfgrange_nopull’:
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: ‘s3c_gpio_pull_t’ undeclared (first use in this function)
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: note: each undeclared identifier is reported only once for each function it appears in
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: expected ‘)’ before numeric constant
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: too many arguments to function ‘s3c_gpio_cfgall_range’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:174:12: note: declared here
    arch/arm/plat-samsung/include/plat/gpio-cfg.h: At top level:
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:199:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s5p_gpio_get_drvstr’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:210:50: error: expected declaration specifiers or ‘...’ before ‘s5p_gpio_drvstr_t’

    Signed-off-by: Vasily Khoruzhick
    Acked-by: Jassi Brar
    Signed-off-by: Mark Brown

    Vasily Khoruzhick
     
  • Add linux/types.h to fix this compilation error:

    In file included from arch/arm/mach-s3c2410/include/mach/gpio-fns.h:27:0,
    from arch/arm/mach-s3c2410/include/mach/gpio.h:27,
    from /home/anarsoul/work/pda-linux/linux-next/arch/arm/include/asm/gpio.h:5,
    from include/linux/gpio.h:18,
    from sound/soc/samsung/rx1950_uda1380.c:20:
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:29:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:30:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s5p_gpio_drvstr_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:57:2: error: expected specifier-qualifier-list before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:148:47: error: expected declaration specifiers or ‘...’ before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:156:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s3c_gpio_getpull’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:175:24: error: expected declaration specifiers or ‘...’ before ‘s3c_gpio_pull_t’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h: In function ‘s3c_gpio_cfgrange_nopull’:
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: ‘s3c_gpio_pull_t’ undeclared (first use in this function)
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: note: each undeclared identifier is reported only once for each function it appears in
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: expected ‘)’ before numeric constant
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: too many arguments to function ‘s3c_gpio_cfgall_range’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:174:12: note: declared here
    arch/arm/plat-samsung/include/plat/gpio-cfg.h: At top level:
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:199:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s5p_gpio_get_drvstr’
    arch/arm/plat-samsung/include/plat/gpio-cfg.h:210:50: error: expected declaration specifiers or ‘...’ before ‘s5p_gpio_drvstr_t’

    Signed-off-by: Vasily Khoruzhick
    Acked-by: Jassi Brar
    Signed-off-by: Mark Brown

    Vasily Khoruzhick
     
  • Signed-off-by: Mark Brown
    Acked-by: Liam Girdwood

    Mark Brown
     

12 Aug, 2011

3 commits


09 Aug, 2011

4 commits


08 Aug, 2011

1 commit

  • For marketing reasons the part will be called WM8996. In order to avoid
    user confusion rename the driver to reflect this.

    Signed-off-by: Mark Brown
    Acked-by: Kukjin Kim
    Acked-by: Liam Girdwood

    Mark Brown
     

25 Jul, 2011

1 commit


21 Jul, 2011

2 commits


14 Jul, 2011

1 commit


01 Jul, 2011

1 commit


26 Jun, 2011

3 commits