* [PATCH v2] OMAP3: RX51: Define TWL4030 USB transceiver in board file
@ 2009-07-07 11:15 Roger Quadros
2009-07-07 11:37 ` Felipe Balbi
2009-08-05 13:29 ` [APPLIED] " Tony Lindgren
0 siblings, 2 replies; 3+ messages in thread
From: Roger Quadros @ 2009-07-07 11:15 UTC (permalink / raw)
To: tony; +Cc: felipe.balbi, linux-omap
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2] OMAP3: RX51: Define TWL4030 USB transceiver in board file
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
2009-08-05 13:29 ` [APPLIED] " Tony Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2009-07-07 11:37 UTC (permalink / raw)
To: Quadros Roger (EXT-Teleca/Helsinki)
Cc: tony@atomide.com, Balbi Felipe (Nokia-D/Helsinki),
linux-omap@vger.kernel.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread* [APPLIED] [PATCH v2] OMAP3: RX51: Define TWL4030 USB transceiver in board file
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
@ 2009-08-05 13:29 ` Tony Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2009-08-05 13:29 UTC (permalink / raw)
To: linux-omap
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: omap-fixes
Initial commit ID (Likely to change): 9cea4f1eda7e18a59a6f6a5d9edc6384318df492
PatchWorks
http://patchwork.kernel.org/patch/34410/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=9cea4f1eda7e18a59a6f6a5d9edc6384318df492
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-05 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-08-05 13:29 ` [APPLIED] " Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox