]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0cf06395116d2724739f2a7148d02504437115fd
tree37664fdf197609d2d445e6bde8d0e96fa6928ef4
parent7491c72edb0753af443349eb3b4636a581770049
CMA: correct unlock target

'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