Added driver for HiFiBerry Amp amplifier add-on board
authorDaniel Matuschek <info@crazy-audio.com>
Mon, 4 Aug 2014 09:09:58 +0000 (11:09 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:07:56 +0000 (00:07 +0100)
commit119ce24b90d61d3bfd39b387d945324b920f14bc
treee664569c8b6d8449c9403de3f8f8f4b296f2b601
parent541743a5f262c2fb2651ea2e7ac652d99f0cf124
Added driver for HiFiBerry Amp amplifier add-on board

The driver contains a low-level hardware driver for the TAS5713 and the
drivers for the Raspberry Pi I2S subsystem.

TAS5713: return error if initialisation fails

Existing TAS5713 driver logs errors during initialisation, but does not return
an error code. Therefore even if initialisation fails, the driver will still be
loaded, but won't work. This patch fixes this. I2C communication error will now
reported correctly by a non-zero return code.

HiFiBerry Amp: fix device-tree problems

Some code to load the driver based on device-tree-overlays was missing. This is added by this patch.
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/tas5713.c [new file with mode: 0644]
sound/soc/codecs/tas5713.h [new file with mode: 0644]