[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121113185902.GO27828@sortiz-mobl>
Date: Tue, 13 Nov 2012 19:59:02 +0100
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Peter Ujfalusi <peter.ujfalusi@...com>
Cc: Tero Kristo <t-kristo@...com>, linux-kernel@...r.kernel.org,
Thierry Reding <thierry.reding@...onic-design.de>
Subject: Re: [PATCH] MFD: twl-core: Fix chip ID for the twl6030-pwm module
Hi Peter,
On Wed, Oct 31, 2012 at 03:54:37PM +0100, Peter Ujfalusi wrote:
> The correct chip id is 1 since the PWM module is on address 0x49. With the
> current TWL6030_MODULE_ID1 the kernel will crash early since:
> #define TWL6030_MODULE_ID1 0x0E
> and
> static struct twl_client twl_modules[4];
>
> Down in the stack we try to get the module by:
> struct twl_client *twl = &twl_modules[chip];
>
> Which obviously going to do nasty things.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
> ---
> Hi Samuel,
>
> Can you push this patch to 3.7?
Applied to my for-linus branch. This should make it to 3.7.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists