ASoC: stm32: sai: fix set_sync service

Add error check on set_sync function return.
Add of_node_put() as of_get_parent() takes a reference
which has to be released.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Olivier Moysan 2019-02-28 14:19:25 +01:00 • committed by Mark Brown
commit d4180b4c02
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 10 additions and 6 deletions