Return correct error code in mm_sound 98/30598/1
authorRavi Kiran K N <ravi.kiran@samsung.com>
Fri, 21 Nov 2014 06:06:02 +0000 (11:36 +0530)
committerRavi Kiran K N <ravi.kiran@samsung.com>
Fri, 21 Nov 2014 06:14:39 +0000 (11:44 +0530)
commit5aee7a6d1e49a22218ac8dcafbb9073928c93067
treea279c4c737b65b38492ddc6e25e382193bad6756
parent45ecf4df10293c33350a90f4638864a025dea883
Return correct error code in mm_sound

when mm_sound_volume_get_step() returns error,
same error is not returned to the caller.
Return the correct error code.

Change-Id: I0a2743c9a642e63516578cc6f5dd7e766436b716
Signed-off-by: Ravi Kiran K N <ravi.kiran@samsung.com>
mm_sound.c