brillcodec: fix release memory routine.
authorKitae Kim <kt920.kim@samsung.com>
Thu, 28 Nov 2013 07:27:00 +0000 (16:27 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 27 Feb 2014 06:27:14 +0000 (15:27 +0900)
commit1bca2b54d5653f236487dff53188e5b4885997df
tree1232ee618d9e9299b81cdb58b7b249103d905692
parenta0056a7d58d29072f78f930df31d7a52db9bb93d
brillcodec: fix release memory routine.

If release memory occurs twice with the same memory offset,
it might cause an error.
semaphore for memory block should be increased in the if-statement.

Change-Id: Ic332eec1e64d5b134b8671b38552b470196e01a0
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
drivers/maru/maru_new_codec.c