summaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-01-21 15:55:56 +0100
committerMark Brown <broonie@kernel.org>2016-01-27 14:20:45 +0100
commitf212c6d8c2b21c1e1d0158d38a7c37f4427f3848 (patch)
tree575174911ae08cd18c05bb32e62556a3631060ba /net/unix/af_unix.c
parentLinux 4.5-rc1 (diff)
downloadlinux-f212c6d8c2b21c1e1d0158d38a7c37f4427f3848.tar.xz
linux-f212c6d8c2b21c1e1d0158d38a7c37f4427f3848.zip
ASoC: mxs-saif: fix clk_prepare() without matching clk_unprepare()
The clk_prepare() call in hw_params() has no matching clk_unprepare(), leaving the clk with an ever-increasing prepare count. Moreover, hw_params() can be called multiple times which would again leave us with a runaway prepare count. Fix this by moving the clk_prepare() call to the startup() function and adding a shutdown() function with a matching clk_unprepare() as these operations are already correctly bracketed by soc-core. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions