CMA: correct unlock target
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Thu, 29 May 2014 06:29:18 +0000 (15:29 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 29 May 2014 07:25:14 +0000 (09:25 +0200)
'cma: Remove potential deadlock situation' introduces per cma area mutex
for bitmap management. It is good, but there is one mistake. When we
can't find appropriate area in bitmap, we release cma_mutex global lock
rather than cma->lock and this is a bug. So fix it.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/base/dma-contiguous.c

Simple merge