ALSA: atmel_abdac: Add missing clock prepare
authorAlexander Stein <alexanders83@web.de>
Fri, 5 Dec 2014 19:10:07 +0000 (20:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Dec 2014 19:36:13 +0000 (20:36 +0100)
commit048184540171672a724ab8f8bada7fcc0762f5c6
treef39f663d4ddd5d1199d68173742a3dd2b228c8a8
parent1132015b16580d3f53385354ffec0f58443a1ffd
ALSA: atmel_abdac: Add missing clock prepare

Clocks must be prepared before enabling them. Do this in one step.
Replace clk_enable with clk_prepare_enable and clk_disable with
clk_disable_unprepare.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/atmel/abdac.c