summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-05-26 15:57:21 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:45:20 +0900
commit475f73050e10e31ebc352f21d7a5a449e7ea01ef (patch)
tree586f4afd6a5347f2a70f2a63f4f440bf85845637 /sound
parent0eeb38fbee5dfb8dacc4972e8a71b95dfadc9442 (diff)
ASoC: ymu831: Fix -ERRNO casted to unsigned intiger
The load_file() returns int (size or -ERRNO for erros) so it cannot be assigned to UINT32 because ERRNO will be lost. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ymu831/ymu831.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ymu831/ymu831.c b/sound/soc/codecs/ymu831/ymu831.c
index 09923cb83025..b1de40e13173 100644
--- a/sound/soc/codecs/ymu831/ymu831.c
+++ b/sound/soc/codecs/ymu831/ymu831.c
@@ -7343,7 +7343,7 @@ static int mc_asoc_write_reg(
case MC_ASOC_DSP_PARAM:
{
char *param = NULL;
- UINT32 size;
+ SINT32 size;
UINT16 option;
if (value >= ARRAY_SIZE(firmware_name)) {