Re: [PATCH 0/2] CBUS Patches

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

 



Hi,

On Tue, Jun 14, 2011 at 06:44:35AM -0700, Tony Lindgren wrote:
> * Felipe Balbi <balbi@xxxxxx> [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.

-- 
balbi
From e0db8f98be32cd84914b90264abda6777ddffac7 Mon Sep 17 00:00:00 2001
From: Felipe Balbi <balbi@xxxxxx>
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@xxxxxx>
---
 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

Attachment: signature.asc
Description: Digital signature


[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