]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: McSPI: handle clock enable / disable in omap2_mcspi
authorImre Deak <imre.deak@solidboot.com>
Wed, 14 Jun 2006 17:42:47 +0000 (20:42 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Wed, 14 Jun 2006 17:42:47 +0000 (20:42 +0300)
commite258acfc999e2a8a615c26ba43c5ec09b079e4d2
treee9548b7358eb4303b1af02aae142eb1201945979
parent7f4940eae2adf22525f902203b35ec7388437890
ARM: OMAP: McSPI: handle clock enable / disable in omap2_mcspi

Enable / disable the mcspi_ick and mcspi_fck clocks in omap2_mcspi_probe
and omap2_mcspi_remove respectively.

Drop the ref count on the class device in omap2_mcspi_remove.

Change the clock names for mcspi_ick[123] and mcspi_fck[123] to mcspi_ick
and mcspi_fck, use instead the clk.id field for the bus id.

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
arch/arm/mach-omap2/clock.h
drivers/spi/omap2_mcspi.c