misc: atmel-ssc: prepare clock only when request
authorBo Shen <voice.shen@atmel.com>
Wed, 24 Sep 2014 09:33:55 +0000 (17:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:52:42 +0000 (09:52 -0800)
commit49af54ff0fc7abb6457caed982ddfcfda487e3f7
tree77778b643bd4fefc53b590b87b9c4a2831cd817a
parentd512c2098b1af6069e47ca457d7034d7cc82d420
misc: atmel-ssc: prepare clock only when request

Prepare SSC clock only when request SSC channel, the clock will be
enabled when initialize the SSC.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/atmel-ssc.c