]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00174809 hdmi audio oops in hdmi_dma_mmap_copy
authorAlan Tull <r80115@freescale.com>
Fri, 17 Feb 2012 21:15:35 +0000 (15:15 -0600)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:59 +0000 (14:10 +0200)
commit98595c27ec00f7c99a3cdfd67be9f6052cd1dc9f
tree18f1a8c4a52443463d0b8043db890706bf057e60
parent20ab70f77c6218ab775485b3a162f08ebadc18c0
ENGR00174809 hdmi audio oops in hdmi_dma_mmap_copy

Runtime dma_area may be invalid after trigger stop command.
This will cause an oops in hdmi_dma_mmap_copy.  To fix this,
disable mmap copying with trigger stop command and also check
the runtime->dma_area before doing hdmi_dma_mmap_copy.

Signed-off-by: Alan Tull <r80115@freescale.com>
sound/soc/imx/imx-hdmi-dma.c