diff mbox

[0/2] CBUS Patches

Message ID 20110614135959.GN2353@legolas.emea.dhcp.ti.com (mailing list archive)
State Accepted, archived
Delegated to: Tony Lindgren
Headers show

Commit Message

Felipe Balbi June 14, 2011, 2 p.m. UTC
Hi,

On Tue, Jun 14, 2011 at 06:44:35AM -0700, Tony Lindgren wrote:
> * Felipe Balbi <balbi@ti.com> [110614 06:12]:
> > On Tue, Jun 14, 2011 at 06:11:39AM -0700, Tony Lindgren wrote:
> > > 
> > > Hmm the second patch "cbus: pass device as argument" breaks
> > > booting on n800. Anyways pushed out already so that will
> > > need to be fixed in a separate patch.
> > 
> > any good dmesg output for me to take a look at ?
> 
> Here's the trace with DEBUG_LL + EARLY_PRINTK + earlyprintk in the
> added to the CMDLINE in .config.

fix attached.

Comments

Tony Lindgren June 14, 2011, 2:35 p.m. UTC | #1
* Felipe Balbi <balbi@ti.com> [110614 06:55]:
> Hi,
> 
> On Tue, Jun 14, 2011 at 06:44:35AM -0700, Tony Lindgren wrote:
> > * Felipe Balbi <balbi@ti.com> [110614 06:12]:
> > > On Tue, Jun 14, 2011 at 06:11:39AM -0700, Tony Lindgren wrote:
> > > > 
> > > > Hmm the second patch "cbus: pass device as argument" breaks
> > > > booting on n800. Anyways pushed out already so that will
> > > > need to be fixed in a separate patch.
> > > 
> > > any good dmesg output for me to take a look at ?
> > 
> > Here's the trace with DEBUG_LL + EARLY_PRINTK + earlyprintk in the
> > added to the CMDLINE in .config.
> 
> fix attached.

Thanks, pushing to cbus branch and also applying to master branch.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

From e0db8f98be32cd84914b90264abda6777ddffac7 Mon Sep 17 00:00:00 2001
From: Felipe Balbi <balbi@ti.com>
Date: Tue, 14 Jun 2011 16:56:32 +0300
Subject: [PATCH] cbus: retu: initialize dev pointer
Organization: Texas Instruments\n

without it we have a kernel oops when
booting n8x0.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 drivers/cbus/retu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/cbus/retu.c b/drivers/cbus/retu.c
index 4b5af58..3f0578b 100644
--- a/drivers/cbus/retu.c
+++ b/drivers/cbus/retu.c
@@ -455,6 +455,7 @@  static int __init retu_probe(struct platform_device *pdev)
 	retu->irq_base	= pdata->irq_base;
 	retu->irq_end	= pdata->irq_end;
 	retu->devid	= pdata->devid;
+	retu->dev	= &pdev->dev;
 	the_retu	= retu;
 
 	mutex_init(&retu->mutex);
-- 
1.7.6.rc1