From: Bard Liao Date: Tue, 29 Jul 2014 05:50:57 +0000 (+0800) Subject: ASoC: rt286: Fix null pointer issue X-Git-Tag: cleanup-for-v3.18~103^2~5^2~5^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f601efc886ee5881594c5d931b76775975e155;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed