diff options
| author | Johan Hovold <[email protected]> | 2017-11-13 12:12:55 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-11-16 12:01:43 +0000 |
| commit | bc6476d6c1edcb9b97621b5131bd169aa81f27db (patch) | |
| tree | 7db89f2073d6e38264ab909f9a5866f5bc1c5e74 /drivers/fpga/machxo2-spi.c | |
| parent | df6a3e245541ac61cc99f2887437e0a43dd08f2e (diff) | |
ASoC: da7218: fix 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.
Fixes: 4d50934abd22 ("ASoC: da7218: Add da7218 codec driver")
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Adam Thomson <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: stable <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions