aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2015-04-13 06:00:45 +0000
committerMark Brown <[email protected]>2015-04-15 16:05:27 +0000
commitd1acba2fdebb449bad01e7cf77a9f9730dfaca6e (patch)
tree8253edf1b2a10815ef566929f4f98ad53c29b538 /net/switchdev/switchdev.c
parentMerge remote-tracking branches 'asoc/topic/wm2200', 'asoc/topic/wm5100', 'aso... (diff)
downloadkernel-d1acba2fdebb449bad01e7cf77a9f9730dfaca6e.tar.gz
kernel-d1acba2fdebb449bad01e7cf77a9f9730dfaca6e.zip
ASoC: rsnd: set dmaen->chan = NULL when error case
rsnd_dmaen_quit() is assuming dmaen->chan is NULL if it failed to get DMAEngine channel. but, current dmaen->chan might have error value when error case (this driver is checking it by IS_ERR_OR_NULL()) This patch makes sure dmaen->chan is NULL when error case. Otherwise, it will contact to unknown address in rsnd_dmaen_quit() Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions