mirror of https://gitee.com/openkylin/linux.git
4e8748fcae
There are 2 issues here:
- if one of the 'of_parse_phandle' fails, calling 'mop500_of_node_put()'
is a no-op because the 'mop500_dai_links' structure has not been
initialized yet, so the referenced are not decremented
- The reference stored in 'mop500_dai_links[i].codecs' is refcounted
only once in the probe and must be decremented only once.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mop500.c | ||
mop500_ab8500.c | ||
mop500_ab8500.h | ||
ux500_msp_dai.c | ||
ux500_msp_dai.h | ||
ux500_msp_i2s.c | ||
ux500_msp_i2s.h | ||
ux500_pcm.c | ||
ux500_pcm.h |