MIPS: Alchemy: irda: use clk framework
authorManuel Lauss <manuel.lauss@gmail.com>
Wed, 23 Jul 2014 14:36:53 +0000 (16:36 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 12:10:19 +0000 (14:10 +0200)
commit9178af9aa74edb4b161912ee1a6cbe0cc7ed7975
tree06340face6a9234ec2818ba64a97eecf9c17ca75
parent415e0fec7a388dbe224057c1134737e23710aa9b
MIPS: Alchemy: irda: use clk framework

Test the existence of the irda_clk clock object, use it to en/dis-
able it when date is being transferred.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/7470/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/net/irda/au1k_ir.c