Commit a5a3717a authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branches 'asoc/fix/ak4642', 'asoc/fix/ep93xx',...

Merge remote-tracking branches 'asoc/fix/ak4642', 'asoc/fix/ep93xx', 'asoc/fix/kirkwood' and 'asoc/fix/twl6040' into asoc-linus
...@@ -567,7 +567,7 @@ static void ep93xx_spi_dma_transfer(struct ep93xx_spi *espi) ...@@ -567,7 +567,7 @@ static void ep93xx_spi_dma_transfer(struct ep93xx_spi *espi)
txd = ep93xx_spi_dma_prepare(espi, DMA_MEM_TO_DEV); txd = ep93xx_spi_dma_prepare(espi, DMA_MEM_TO_DEV);
if (IS_ERR(txd)) { if (IS_ERR(txd)) {
ep93xx_spi_dma_finish(espi, DMA_DEV_TO_MEM); ep93xx_spi_dma_finish(espi, DMA_DEV_TO_MEM);
dev_err(&espi->pdev->dev, "DMA TX failed: %ld\n", PTR_ERR(rxd)); dev_err(&espi->pdev->dev, "DMA TX failed: %ld\n", PTR_ERR(txd));
msg->status = PTR_ERR(txd); msg->status = PTR_ERR(txd);
return; return;
} }
......
...@@ -134,6 +134,7 @@ ...@@ -134,6 +134,7 @@
#define TWL6040_HFDACENA (1 << 0) #define TWL6040_HFDACENA (1 << 0)
#define TWL6040_HFPGAENA (1 << 1) #define TWL6040_HFPGAENA (1 << 1)
#define TWL6040_HFDRVENA (1 << 4) #define TWL6040_HFDRVENA (1 << 4)
#define TWL6040_HFSWENA (1 << 6)
/* VIBCTLL/R (0x18/0x1A) fields */ /* VIBCTLL/R (0x18/0x1A) fields */
......
...@@ -560,6 +560,7 @@ static const struct regmap_config ak4642_regmap = { ...@@ -560,6 +560,7 @@ static const struct regmap_config ak4642_regmap = {
.max_register = FIL1_3, .max_register = FIL1_3,
.reg_defaults = ak4642_reg, .reg_defaults = ak4642_reg,
.num_reg_defaults = NUM_AK4642_REG_DEFAULTS, .num_reg_defaults = NUM_AK4642_REG_DEFAULTS,
.cache_type = REGCACHE_RBTREE,
}; };
static const struct regmap_config ak4643_regmap = { static const struct regmap_config ak4643_regmap = {
...@@ -568,6 +569,7 @@ static const struct regmap_config ak4643_regmap = { ...@@ -568,6 +569,7 @@ static const struct regmap_config ak4643_regmap = {
.max_register = SPK_MS, .max_register = SPK_MS,
.reg_defaults = ak4643_reg, .reg_defaults = ak4643_reg,
.num_reg_defaults = ARRAY_SIZE(ak4643_reg), .num_reg_defaults = ARRAY_SIZE(ak4643_reg),
.cache_type = REGCACHE_RBTREE,
}; };
static const struct regmap_config ak4648_regmap = { static const struct regmap_config ak4648_regmap = {
...@@ -576,6 +578,7 @@ static const struct regmap_config ak4648_regmap = { ...@@ -576,6 +578,7 @@ static const struct regmap_config ak4648_regmap = {
.max_register = EQ_FBEQE, .max_register = EQ_FBEQE,
.reg_defaults = ak4648_reg, .reg_defaults = ak4648_reg,
.num_reg_defaults = ARRAY_SIZE(ak4648_reg), .num_reg_defaults = ARRAY_SIZE(ak4648_reg),
.cache_type = REGCACHE_RBTREE,
}; };
static const struct ak4642_drvdata ak4642_drvdata = { static const struct ak4642_drvdata ak4642_drvdata = {
......
...@@ -1718,7 +1718,6 @@ static int hdac_hdmi_runtime_suspend(struct device *dev) ...@@ -1718,7 +1718,6 @@ static int hdac_hdmi_runtime_suspend(struct device *dev)
struct hdac_ext_device *edev = to_hda_ext_device(dev); struct hdac_ext_device *edev = to_hda_ext_device(dev);
struct hdac_device *hdac = &edev->hdac; struct hdac_device *hdac = &edev->hdac;
struct hdac_bus *bus = hdac->bus; struct hdac_bus *bus = hdac->bus;
unsigned long timeout;
struct hdac_ext_bus *ebus = hbus_to_ebus(bus); struct hdac_ext_bus *ebus = hbus_to_ebus(bus);
struct hdac_ext_link *hlink = NULL; struct hdac_ext_link *hlink = NULL;
int err; int err;
......
...@@ -983,9 +983,9 @@ static void twl6040_mute_path(struct snd_soc_codec *codec, enum twl6040_dai_id i ...@@ -983,9 +983,9 @@ static void twl6040_mute_path(struct snd_soc_codec *codec, enum twl6040_dai_id i
if (mute) { if (mute) {
/* Power down drivers and DACs */ /* Power down drivers and DACs */
hflctl &= ~(TWL6040_HFDACENA | TWL6040_HFPGAENA | hflctl &= ~(TWL6040_HFDACENA | TWL6040_HFPGAENA |
TWL6040_HFDRVENA); TWL6040_HFDRVENA | TWL6040_HFSWENA);
hfrctl &= ~(TWL6040_HFDACENA | TWL6040_HFPGAENA | hfrctl &= ~(TWL6040_HFDACENA | TWL6040_HFPGAENA |
TWL6040_HFDRVENA); TWL6040_HFDRVENA | TWL6040_HFSWENA);
} }
twl6040_reg_write(twl6040, TWL6040_REG_HFLCTL, hflctl); twl6040_reg_write(twl6040, TWL6040_REG_HFLCTL, hflctl);
......
config SND_KIRKWOOD_SOC config SND_KIRKWOOD_SOC
tristate "SoC Audio for the Marvell Kirkwood and Dove chips" tristate "SoC Audio for the Marvell Kirkwood and Dove chips"
depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
depends on HAS_DMA
help help
Say Y or M if you want to add support for codecs attached to Say Y or M if you want to add support for codecs attached to
the Kirkwood I2S interface. You will also need to select the the Kirkwood I2S interface. You will also need to select the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment