summaryrefslogtreecommitdiffstats
path: root/drivers/dma/intel_mid_dma.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2011-03-03 15:47:17 +0530
committerVinod Koul <vinod.koul@intel.com>2011-03-07 01:12:27 +0530
commit569432efa7975f5795efb8142134f5a098942381 (patch)
treea62ccafa3526a7da531b56d2a75c1bc21b3ff05c /drivers/dma/intel_mid_dma.c
parentf336e42f73d93b74fd21bf9176ee6c7ab8b195c5 (diff)
downloadtalos-obmc-linux-569432efa7975f5795efb8142134f5a098942381.tar.gz
talos-obmc-linux-569432efa7975f5795efb8142134f5a098942381.zip
dw_dmac: Calling dwc_scan_descriptors from dwc_tx_status() after taking lock
Lock must be taken before calling dwc_scan_descriptors, as this may access/modify shared data and queues. dwc_tx_status wasn't taking lock before calling this routine. This patch add code that takes lock before calling dwc_scan_descriptors. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/intel_mid_dma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud