summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-06-01 17:10:05 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-01 18:20:22 (GMT)
commita2dc56c8a0009ba3879a26dfe416fc453fa2e32f (patch)
tree06ad134e442e9671b62bb5639a9eaebfdc8ed16f /kernel
parenta1e9adc00e722b8ec7d9b3d68e6f9564b9455d2f (diff)
downloadlinux-fsl-qoriq-a2dc56c8a0009ba3879a26dfe416fc453fa2e32f.tar.xz
ASoC: add missing clk_put to nuc900-ac97
This goto is after the call to clk_get, so it should go to the label that includes a call to clk_put. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression e1,e2; statement S; @@ e1 = clk_get@p1(...); ... when != e1 = e2 when != clk_put(e1) when any if (...) { ... when != clk_put(e1) when != if (...) { ... clk_put(e1) ... } * return@p3 ...; } else S // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions