projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct .gbs.conf settings
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
sound
/
soc
/
soc-cache.c
diff --git
a/sound/soc/soc-cache.c
b/sound/soc/soc-cache.c
index
1b6663f
..
375dc6d
100644
(file)
--- a/
sound/soc/soc-cache.c
+++ b/
sound/soc/soc-cache.c
@@
-36,7
+36,8
@@
static bool snd_soc_set_cache_val(void *base, unsigned int idx,
break;
}
default:
- BUG();
+ WARN(1, "Invalid word_size %d\n", word_size);
+ break;
}
return false;
}
@@
-57,7
+58,8
@@
static unsigned int snd_soc_get_cache_val(const void *base, unsigned int idx,
return cache[idx];
}
default:
- BUG();
+ WARN(1, "Invalid word_size %d\n", word_size);
+ break;
}
/* unreachable */
return -1;