]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: stm32: sai: add missing put_device()
authorWen Yang <yellowriver2010@hotmail.com>
Sat, 9 Feb 2019 10:41:09 +0000 (10:41 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 14 Feb 2019 13:12:07 +0000 (13:12 +0000)
commit240358cc9c93a22dd68d97f8a422999fe922c293
tree0ed941bc9963653f26d8cc531815974d7278dea4
parent774f6fb52d66016018e5189df1e330706a15f80d
ASoC: stm32: sai: add missing put_device()

The of_find_device_by_node() takes a reference to the underlying device
structure, we should release that reference.

Fixes: 0110c38cb103 ("ASoC: stm32: sai: simplify sync modes management")
Signed-off-by: Wen Yang <yellowriver2010@hotmail.com>
Acked-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_sai.c