]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Properly free t7l66xb clk32k clock source
authorAxel Lin <axel.lin@gmail.com>
Thu, 1 Jul 2010 09:43:50 +0000 (17:43 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 12 Aug 2010 09:27:23 +0000 (11:27 +0200)
commit0e39acdac91169438202bdfb0401ac810c1abcde
tree109894ab5b7a6fc318d28d44d7a06ffcc52d1f07
parent09e2f879cde4b6b35d904585aac89a01730dc335
mfd: Properly free t7l66xb clk32k clock source

This patch includes below fixes to properly free clk32k clock source:
1. remove a redundant clk_put in t7l66xb_probe error path
2. add missing clk_disable(t7l66xb->clk32k) and clk_put(t7l66xb->clk32k)
   to properly free the clock source.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/t7l66xb.c