summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_spdif.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-10-06 12:48:53 +0100
committerMark Brown <broonie@kernel.org>2014-10-06 12:48:53 +0100
commit7ddb870b78e6f655b98231e23ae637e7d6fcf78f (patch)
tree09f8d9246a7e68715c012d0fc7bbd2ae429e1ac5 /sound/soc/fsl/fsl_spdif.c
parent64fdf13c8b5ff530f54dd767861f4e25a9ec2fe9 (diff)
parent5ea5570579739a8f80231d884e2979e25d3c0992 (diff)
downloadtalos-op-linux-7ddb870b78e6f655b98231e23ae637e7d6fcf78f.tar.gz
talos-op-linux-7ddb870b78e6f655b98231e23ae637e7d6fcf78f.zip
Merge remote-tracking branch 'asoc/topic/fsl-esai' into asoc-next
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
-rw-r--r--sound/soc/fsl/fsl_spdif.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index 70acfe4a9bd5..ae4e408810ec 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -1040,7 +1040,7 @@ static bool fsl_spdif_writeable_reg(struct device *dev, unsigned int reg)
}
}
-static struct regmap_config fsl_spdif_regmap_config = {
+static const struct regmap_config fsl_spdif_regmap_config = {
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,
@@ -1184,9 +1184,6 @@ static int fsl_spdif_probe(struct platform_device *pdev)
memcpy(&spdif_priv->cpu_dai_drv, &fsl_spdif_dai, sizeof(fsl_spdif_dai));
spdif_priv->cpu_dai_drv.name = spdif_priv->name;
- if (of_property_read_bool(np, "big-endian"))
- fsl_spdif_regmap_config.val_format_endian = REGMAP_ENDIAN_BIG;
-
/* Get the addresses and IRQ */
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
regs = devm_ioremap_resource(&pdev->dev, res);
OpenPOWER on IntegriCloud