diff options
author | Mike Rapoport <mike@compulab.co.il> | 2009-01-18 11:55:19 +0200 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-01-19 10:55:16 +0800 |
commit | 8d69abb08343706f88380edb83927ffc0fc83098 (patch) | |
tree | 9d1f241988e7558c718d967d34751866ccb2431d /arch/arm/mach-pxa/corgi.c | |
parent | 1de9e8e70f5acc441550ca75433563d91b269bbe (diff) | |
download | linux-8d69abb08343706f88380edb83927ffc0fc83098.tar.gz linux-8d69abb08343706f88380edb83927ffc0fc83098.tar.bz2 linux-8d69abb08343706f88380edb83927ffc0fc83098.zip |
[ARM] pxa: fix NAND and MMC clock initialization for pxa3xx
After commit 8c3abc7d903df492a7394b0adae4349d9a381aaf
("[ARM] pxa: convert to clkdev and match clocks by struct device where possible")
get_clk in pxa3xx_nand fails with -ENOENT.
Apparently, clk_get in pxamci will also fail for MCI2 on PXA310.
The 'clk_find' and therefore 'clk_get' require driver to supply
both 'dev_id' and 'con_id' if they are not NULL in the 'strcut clk_lookup',
but neither pxa3xx_nand nor pxamci supply 'con_id'.
This patch sets 'con_id' to NULL in NAND clock and MCI2 clock registration.
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/corgi.c')
0 files changed, 0 insertions, 0 deletions