ASoC: bcm2835: setup clock only if CPU is clock master
authorMatthias Reichl <hias@horus.com>
Mon, 25 Apr 2016 13:39:39 +0000 (13:39 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2016 16:39:11 +0000 (17:39 +0100)
commit60507fe191f524e82986fa737e5b27b4d3ad9289
treebfb9078671aab182021ec44baa8044b418ec00f9
parenta34b027dca5ea840fbc84121db66488375acfdea
ASoC: bcm2835: setup clock only if CPU is clock master

We only need to enable the clock if we are a clock master.

Code ported from bcm2708-i2s driver in Raspberry Pi tree.
Original work by Zoltan Szenczi.

Signed-off-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/bcm2835-i2s.c
This page took 0.024181 seconds and 5 git commands to generate.