ASoC: max98090: Move interrupt request from codec probe to i2c probe
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 19 Sep 2014 11:48:17 +0000 (14:48 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 24 Sep 2014 08:37:17 +0000 (09:37 +0100)
commit7a7f0ba03d521ac2d36c9015278bc35657b3dcc9
tree5add4c7c908d39ab7912d8aed951ad2cd7168049
parentb8a3ee820f7b0802c9b90a9f3426dbda54e93d09
ASoC: max98090: Move interrupt request from codec probe to i2c probe

Keep MAX98090 interrupt requested after i2c device probing as long as the
driver is loaded. This fixes the issue where subsequent codec probe
max98090_probe() call fails in interrupt request since interrupt wasn't
freed over codec remove-reprobe cycle.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98090.c