diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-05-26 15:57:21 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:45:20 +0900 |
commit | 475f73050e10e31ebc352f21d7a5a449e7ea01ef (patch) | |
tree | 586f4afd6a5347f2a70f2a63f4f440bf85845637 /sound | |
parent | 0eeb38fbee5dfb8dacc4972e8a71b95dfadc9442 (diff) | |
download | linux-exynos-475f73050e10e31ebc352f21d7a5a449e7ea01ef.tar.gz linux-exynos-475f73050e10e31ebc352f21d7a5a449e7ea01ef.tar.bz2 linux-exynos-475f73050e10e31ebc352f21d7a5a449e7ea01ef.zip |
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.c | 2 |
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)) { |