summaryrefslogtreecommitdiff
path: root/kernel/events/core.c
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2014-07-29 09:50:57 +0400
committerMark Brown <broonie@linaro.org>2014-07-29 16:00:08 +0400
commit90f601efc886ee5881594c5d931b76775975e155 (patch)
tree10030644654a509c2418a99472a0e56deb251f3e /kernel/events/core.c
parent23c4fd5c9719e8fc60d589b9f9c7451120f4f3e9 (diff)
downloadlinux-90f601efc886ee5881594c5d931b76775975e155.tar.xz
ASoC: rt286: Fix null pointer issue
To make the interrupt safe if it happens to be called before the card is ready, we use regmap read/write in the interrupt handler. Also, we try to prevent the interrupt happen before the card is ready by enabling codec's IRQ in the ASoC probe. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'kernel/events/core.c')
0 files changed, 0 insertions, 0 deletions