From: Felipe Balbi <felipe.balbi@nokia.com>
To: "Quadros Roger (EXT-Teleca/Helsinki)" <ext-roger.quadros@nokia.com>
Cc: "tony@atomide.com" <tony@atomide.com>,
"Balbi Felipe (Nokia-D/Helsinki)" <felipe.balbi@nokia.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH v2] OMAP3: RX51: Define TWL4030 USB transceiver in board file
Date: Tue, 7 Jul 2009 14:37:11 +0300 [thread overview]
Message-ID: <20090707113711.GS8461@nokia.com> (raw)
In-Reply-To: <1246965322-14449-1-git-send-email-ext-roger.quadros@nokia.com>
On Tue, Jul 07, 2009 at 01:15:22PM +0200, Quadros Roger (EXT-Teleca/Helsinki) wrote:
> Add OTG transceiver to RX51 platform data to prevent kernel NULL pointer
> dereference during MUSB initialisation.
>
> Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
> ---
> arch/arm/mach-omap2/board-rx51-peripherals.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
> index 9a0bf67..56d931a 100644
> --- a/arch/arm/mach-omap2/board-rx51-peripherals.c
> +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
> @@ -278,6 +278,10 @@ static struct twl4030_gpio_platform_data rx51_gpio_data = {
> .setup = rx51_twlgpio_setup,
> };
>
> +static struct twl4030_usb_data rx51_usb_data = {
> + .usb_mode = T2_USB_MODE_ULPI,
> +};
> +
> static struct twl4030_platform_data rx51_twldata = {
> .irq_base = TWL4030_IRQ_BASE,
> .irq_end = TWL4030_IRQ_END,
> @@ -286,6 +290,7 @@ static struct twl4030_platform_data rx51_twldata = {
> .gpio = &rx51_gpio_data,
> .keypad = &rx51_kp_data,
> .madc = &rx51_madc_data,
> + .usb = &rx51_usb_data,
>
> .vaux1 = &rx51_vaux1,
> .vaux2 = &rx51_vaux2,
> --
> 1.6.0.4
--
balbi
next prev parent reply other threads:[~2009-07-07 11:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 11:15 [PATCH v2] OMAP3: RX51: Define TWL4030 USB transceiver in board file Roger Quadros
2009-07-07 11:37 ` Felipe Balbi [this message]
2009-08-05 13:29 ` [APPLIED] " Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090707113711.GS8461@nokia.com \
--to=felipe.balbi@nokia.com \
--cc=ext-roger.quadros@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox