diff options
author | Tzung-Bi Shih <tzungbi@google.com> | 2020-09-08 15:00:44 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-08 13:55:01 +0100 |
commit | 6835302853169441069e11bc4642300c22009c2e (patch) | |
tree | e8586a73a54c3dcc46e6dccbb4f52df92acbe0b4 /sound/atmel | |
parent | 783560d02dd61aee20d1d00c1c061bcafea30264 (diff) |
ASoC: mt6359: fix failed to parse DT properties
Mt6359 platform device is instantiated by mfd_add_devices(). In the
case, dev->of_node is NULL so that mt6359_parse_dt() always fails to
parse the desired DT properties.
Gets the DT properties via dev->parent->of_node.
Fixes: 8061734ab654 ("ASoC: mediatek: mt6359: add codec driver")
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200908070044.1142644-1-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/atmel')
0 files changed, 0 insertions, 0 deletions