summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_ns87410.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-01-26 12:27:25 +0100
committerSumit Semwal <sumit.semwal@ti.com>2012-03-19 11:12:15 +0100
commit2ed9201bdd9a8e462d768a838fb2bc944c6887a4 (patch)
treeb205a540211ba7461c82c641c0131e39b11818e3 /drivers/ata/pata_ns87410.c
parentdma-buf: Return error instead of using a goto statement when possible (diff)
downloadlinux-2ed9201bdd9a8e462d768a838fb2bc944c6887a4.tar.xz
linux-2ed9201bdd9a8e462d768a838fb2bc944c6887a4.zip
dma-buf: Move code out of mutex-protected section in dma_buf_attach()
Some fields can be set without mutex protection. Initialize them before locking the mutex. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'drivers/ata/pata_ns87410.c')
0 files changed, 0 insertions, 0 deletions