ASoC: twl6040: Clear interrupt status at boot time
authorJorge Eduardo Candelaria <jorge.candelaria@ti.com>
Sat, 11 Dec 2010 03:06:13 +0000 (21:06 -0600)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 14 Dec 2010 20:36:58 +0000 (20:36 +0000)
commitf1f489a6aa89993892cd7b4d08f67e7e110492cb
treecc9ce94861b0ba081446c7a092d46e399d9efa0b
parent99903ea23655a43ce4f75b64fef69e341fd0b7df
ASoC: twl6040: Clear interrupt status at boot time

On Phoenix 1.1, the INTID register default value is an invalid
one, causing the interrupt handler to think the phoenix power on
sequence is ready before it actually finishes.

This causes some i2c errors when trying to configure twl.

Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/twl6040.c