02 Jan, 2012

9 commits


30 Dec, 2011

5 commits


22 Dec, 2011

1 commit


20 Dec, 2011

2 commits


17 Dec, 2011

5 commits


12 Dec, 2011

2 commits


08 Dec, 2011

3 commits


05 Dec, 2011

3 commits

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

    Axel Lin
     
  • Mark Brown
     
  • SND_SOC_RAUMFELD selects SND_SOC_CS4270 which needs CONFIG_I2C,
    and also selects SND_SOC_AK4104 which needs SPI_MASTER.
    Thus make SND_SOC_RAUMFELD depend on I2C && SPI_MASTER.

    Add depend on SPI_MASTER to fix below build error if CONFIG_SPI_MASTER
    is not selected.

    LD .tmp_vmlinux1
    sound/built-in.o: In function `ak4104_spi_write':
    last.c:(.text+0x290cc): undefined reference to `spi_sync'
    sound/built-in.o: In function `ak4104_probe':
    last.c:(.text+0x292a0): undefined reference to `spi_write_then_read'
    sound/built-in.o: In function `ak4104_spi_probe':
    last.c:(.text+0x29398): undefined reference to `spi_setup'
    sound/built-in.o: In function `ak4104_init':
    last.c:(.init.text+0x4ec): undefined reference to `spi_register_driver'
    make: *** [.tmp_vmlinux1] Error 1

    Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
    CC sound/soc/codecs/cs4270.o
    sound/soc/codecs/cs4270.c: In function 'cs4270_i2c_probe':
    sound/soc/codecs/cs4270.c:657: error: implicit declaration of function 'i2c_smbus_read_byte_data'
    sound/soc/codecs/cs4270.c: In function 'cs4270_init':
    sound/soc/codecs/cs4270.c:730: error: implicit declaration of function 'i2c_add_driver'
    sound/soc/codecs/cs4270.c: In function 'cs4270_exit':
    sound/soc/codecs/cs4270.c:736: error: implicit declaration of function 'i2c_del_driver'
    make[3]: *** [sound/soc/codecs/cs4270.o] Error 1
    make[2]: *** [sound/soc/codecs] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    SND_PXA2XX_SOC_HX4700 selects SND_SOC_AK4641 which needs CONFIG_I2C.
    Thus make SND_PXA2XX_SOC_HX4700 depend on I2C.

    Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
    CC sound/soc/codecs/ak4641.o
    sound/soc/codecs/ak4641.c: In function 'ak4641_modinit':
    sound/soc/codecs/ak4641.c:646: error: implicit declaration of function 'i2c_add_driver'
    sound/soc/codecs/ak4641.c: In function 'ak4641_exit':
    sound/soc/codecs/ak4641.c:656: error: implicit declaration of function 'i2c_del_driver'
    make[3]: *** [sound/soc/codecs/ak4641.o] Error 1
    make[2]: *** [sound/soc/codecs] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

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

    Axel Lin
     

25 Nov, 2011

1 commit


23 Nov, 2011

1 commit

  • Commit 1ee46ebd("ASoC: Make the DAI ops constant in the DAI structure")
    introduced the possibility to have constant DAI ops structures, yet this is
    barley used in both existing drivers and also new drivers being submitted,
    although none of them modifies its DAI ops structure. The later is not
    surprising since existing drivers are often used as templates for new drivers.
    So this patch just constifies all existing snd_soc_dai_ops structs to eliminate
    the issue altogether.

    The patch was generated with the following coccinelle semantic patch:
    //
    @@
    identifier ops;
    @@
    -struct snd_soc_dai_ops ops =
    +const struct snd_soc_dai_ops ops =
    { ... };
    //

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Lars-Peter Clausen
     

01 Nov, 2011

1 commit


13 Oct, 2011

2 commits

  • The core will sync DAPM as part of the card initialization, there is no
    need for machine drivers to do so during their setup.

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

    Axel Lin
     
  • In saarb_pm860x_init() and evb3_pm860x_init(), we call
    pm860x_hs_jack_detect() and pm860x_mic_jack_detect() which in turn
    calls pm860x_set_bits().
    Thus make SND_SOC_SAARB and SND_SOC_TAVOREVB3 select MFD_88PM860X.

    This patch fixes below build error if CONFIG_MFD_88PM860X is not configured.

    LD .tmp_vmlinux1
    sound/built-in.o: In function `pm860x_write_reg_cache':
    last.c:(.text+0x29e9c): undefined reference to `pm860x_reg_write'
    sound/built-in.o: In function `pm860x_set_bias_level':
    last.c:(.text+0x29ecc): undefined reference to `pm860x_set_bits'
    last.c:(.text+0x29f00): undefined reference to `pm860x_reg_write'
    last.c:(.text+0x29f18): undefined reference to `pm860x_reg_write'
    sound/built-in.o: In function `pm860x_read_reg_cache':
    last.c:(.text+0x29f40): undefined reference to `pm860x_reg_read'
    sound/built-in.o: In function `pm860x_probe':
    last.c:(.text+0x2a034): undefined reference to `pm860x_bulk_read'
    sound/built-in.o: In function `pm860x_codec_handler':
    last.c:(.text+0x2a344): undefined reference to `pm860x_reg_read'
    last.c:(.text+0x2a354): undefined reference to `pm860x_reg_read'
    sound/built-in.o: In function `pm860x_mic_jack_detect':
    last.c:(.text+0x2a450): undefined reference to `pm860x_set_bits'
    sound/built-in.o: In function `pm860x_hs_jack_detect':
    last.c:(.text+0x2a4d0): undefined reference to `pm860x_set_bits'
    last.c:(.text+0x2a4f8): undefined reference to `pm860x_set_bits'
    last.c:(.text+0x2a510): undefined reference to `pm860x_set_bits'
    make: *** [.tmp_vmlinux1] Error 1

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

    Axel Lin
     

08 Oct, 2011

1 commit


03 Oct, 2011

3 commits


06 Sep, 2011

1 commit