RE: [PATCH 0/3] 3430 clock: add several 3430ES2-only clocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Vikram,

On Thu, 20 Dec 2007, Pandita, Vikram wrote:

> Following is the error log with your debug patch on 3430 ES2.0

Cool.

> [snip]
> <7>clock: recalc'ing clksel clk sgx_fck
> <7>clock: in omap2_get_clksel_by_parent: clk sgx_fck
> <1>Unable to handle kernel NULL pointer dereference at virtual address 0000000c

Hmph, I forgot to init the parent of sgx_fck on boot.  Could you try the 
attached patch and see if it fixes the problem?


- Paul
---
 arch/arm/mach-omap2/clock34xx.h |    1 +
 1 file changed, 1 insertion(+)

Index: linux-omap/arch/arm/mach-omap2/clock34xx.h
===================================================================
--- linux-omap.orig/arch/arm/mach-omap2/clock34xx.h	2007-12-20 00:14:22.000000000 -0700
+++ linux-omap/arch/arm/mach-omap2/clock34xx.h	2007-12-20 00:15:37.000000000 -0700
@@ -898,6 +898,7 @@
 
 static struct clk sgx_fck = {
 	.name		= "sgx_fck",
+	.init		= &omap2_init_clksel_parent,
 	.enable_reg	= OMAP_CM_REGADDR(OMAP3430ES2_SGX_MOD, CM_FCLKEN),
 	.enable_bit	= OMAP3430ES2_EN_SGX_SHIFT,
 	.clksel_reg	= OMAP_CM_REGADDR(OMAP3430ES2_SGX_MOD, CM_CLKSEL),

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux