Skip to content
Permalink
Browse files

Revert "bcm2835-i2s: Enable MMAP support via a DT property"

This reverts commit 224a465.
  • Loading branch information...
msperl committed Aug 31, 2016
1 parent 2341c37 commit f7eabb06926fcdaa32e46413b7d9ed09697ffcdf
Showing with 1 addition and 6 deletions.
  1. +1 −6 sound/soc/bcm/bcm2835-i2s.c
@@ -799,7 +799,7 @@ static const struct snd_soc_component_driver bcm2835_i2s_component = {
.name = "bcm2835-i2s-comp",
};

static struct snd_pcm_hardware bcm2835_pcm_hardware = {
static const struct snd_pcm_hardware bcm2835_pcm_hardware = {
.info = SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_JOINT_DUPLEX,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
@@ -835,11 +835,6 @@ static int bcm2835_i2s_probe(struct platform_device *pdev)
}
dma_reg_base = be32_to_cpup(addr);

if (of_property_read_bool(pdev->dev.of_node, "brcm,enable-mmap"))
bcm2835_pcm_hardware.info |=
SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID;

/* Request both ioareas */
for (i = 0; i <= 1; i++) {
void __iomem *base;

0 comments on commit f7eabb0

Please sign in to comment.
You can’t perform that action at this time.