diff options
author | Johan Hovold <johan@kernel.org> | 2017-11-13 14:12:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-16 15:02:15 +0300 |
commit | 15f8c5f2415bfac73f33a14bcd83422bcbfb5298 (patch) | |
tree | 05bd07a4ba5dfefc7001b00b0d7974ce565a3022 /drivers/virtio/virtio_mmio.c | |
parent | df6a3e245541ac61cc99f2887437e0a43dd08f2e (diff) | |
download | linux-15f8c5f2415bfac73f33a14bcd83422bcbfb5298.tar.xz |
ASoC: twl4030: fix child-node lookup
Fix child-node lookup during probe, which ended up searching the whole
device tree depth-first starting at the parent rather than just matching
on its children.
To make things worse, the parent codec node was also prematurely freed,
while the child node was leaked.
Fixes: 2d6d649a2e0f ("ASoC: twl4030: Support for DT booted kernel")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable <stable@vger.kernel.org>
Diffstat (limited to 'drivers/virtio/virtio_mmio.c')
0 files changed, 0 insertions, 0 deletions