Skip to content

Commit

Permalink
Revert "bcm2835-i2s: Enable MMAP support via a DT property"
Browse files Browse the repository at this point in the history
This reverts commit 9aeeaa1.
  • Loading branch information
Phil Elwell committed Apr 28, 2016
1 parent b8e1f71 commit e268425
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions sound/soc/bcm/bcm2835-i2s.c
Expand Up @@ -789,7 +789,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 |
Expand Down Expand Up @@ -831,11 +831,6 @@ static int bcm2835_i2s_probe(struct platform_device *pdev)
return PTR_ERR(regmap[i]);
}

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;

dev = devm_kzalloc(&pdev->dev, sizeof(*dev),
GFP_KERNEL);
if (!dev)
Expand Down

0 comments on commit e268425

Please sign in to comment.