forked from Minki/linux
2b320e0464
When CONFIG_OF is disabled, of_graph_parse_endpoint() does not
initialize 'info', and gcc can see that:
sound/soc/generic/simple-card-utils.c: In function 'asoc_simple_card_parse_graph_dai':
sound/soc/generic/simple-card-utils.c:284:13: error: 'info.port' may be used uninitialized in this function [-Werror=maybe-uninitialized]
It's probably best to check the return code anyway, and that also
takes care of the warning.
Fixes:
|
||
---|---|---|
.. | ||
audio-graph-card.c | ||
audio-graph-scu-card.c | ||
Kconfig | ||
Makefile | ||
simple-card-utils.c | ||
simple-card.c | ||
simple-scu-card.c |