- 25 2月, 2010 2 次提交
-
-
由 Mark Brown 提交于
Currently the i.MX FIQ handler is reporting periods as elapsed based purely on a timer running in the CPU. This means that any clock mismatch between the CPU and the audio subsystem can result in the status reported to applications drifting away from the actual status of the hardware. This is particularly likely at present since the SSI driver is only capable of operating in slave mode so it's very likely that the interface will be clocked from a different source. Instead check the offset reported by the FIQ and only notify when we have transferred at least one period, re-firing the timer if we didn't do so. Also factor out the calculation of the timer expiry time for make it a bit easier to experiment with. Note that this only improves the situation, problems can still be triggered. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NSascha Hauer <s.hauer@pengutronix.de> Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
-
由 Mark Brown 提交于
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NSascha Hauer <s.hauer@pengutronix.de> Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
-
- 17 1月, 2010 1 次提交
-
-
由 Sascha Hauer 提交于
The old driver has the number of SSI units in the system hardcoded, does not make use of the device model and works only on i.MX21/27. This driver replaces it. It works in DMA mode on i.MX21/27 and using an FIQ handler on other systems. It also supports AC97 mode of the SSI units. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Acked-by: NJavier Martin <javier.martin@vista-silicon.com> Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-