1. 01 5月, 2015 1 次提交
  2. 28 4月, 2015 1 次提交
  3. 24 2月, 2015 1 次提交
    • U
      ASoC: improve usage of gpiod API · 34d7c390
      Uwe Kleine-König 提交于
      Since 39b2bbe3 (gpio: add flags argument to gpiod_get*() functions)
      which appeared in v3.17-rc1, the gpiod_get* functions take an additional
      parameter that allows to specify direction and initial value for
      output. Simplify drivers accordingly.
      
      Also there is an *_optional variant that serves well here. The sematics
      is slightly changed here by using it as error checking is more strict
      now: If GPIOLIB is not enabled an error is returned instead of just
      ignoring the gpio. On one hand this is bad for devices that don't "have"
      the respective gpio as the driver is failing now. On the other hand
      there is no means to assert that this gpio is really not needed or if
      only the driver to control it is not available. The latter is a real
      reason to fail and so it's defensive to fail here, too.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      34d7c390
  4. 04 8月, 2014 1 次提交
  5. 19 2月, 2014 1 次提交
    • L
      ASoC: Add ADAU1977 CODEC driver · 603597c9
      Lars-Peter Clausen 提交于
      This patch adds support for the ADAU1977, ADAU1978 and ADAU1979 audio CODEC
      devices. They are a family of 4-channel differential input audio ADC devices.
      They can be connected to either a SPI or I2C bus. The driver is implemented in
      three modules, one main module (adau1977.ko) which implements the device logic
      and one module each for SPI (adau1977-spi.ko) and I2C (adau1977-i2c.ko) bus
      access.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      603597c9