All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	linux-serial@vger.kernel.org,
	Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
	Linux ARM Kernel Mailing List
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] serial: omap: fix DeviceTree boot
Date: Fri, 7 Sep 2012 11:26:39 -0700	[thread overview]
Message-ID: <20120907182638.GJ1303@atomide.com> (raw)
In-Reply-To: <1347041433-11723-1-git-send-email-balbi@ti.com>

* Felipe Balbi <balbi@ti.com> [120907 11:15]:
> OMAP Architecture code, passes a few function
> pointers for UART driver to use in order to
> properly implement Power Management and Wakeup
> capabilities.
> 
> The problem is that those function pointers,
> which are passed (ab)using platform_data on
> non-DT kernels, can't be passed down to drivers
> through DT.
> 
> commit e5b57c0 (serial: omap: define helpers
> for pdata function pointers) failed to take DT
> kernels into consideration and caused a regression
> to DT kernel boot.
> 
> Fix that by (re-)adding a check for valid pdata
> pointer together with valid pdata->$FUNCTION
> pointer.
> 
> Reported-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Felipe Balbi <balbi@ti.com>
> ---
> 
> Tony, does this solve the issue ?

Yes thanks console works again now:

Tested-by: Tony Lindgren <tony@atomide.com>

WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] serial: omap: fix DeviceTree boot
Date: Fri, 7 Sep 2012 11:26:39 -0700	[thread overview]
Message-ID: <20120907182638.GJ1303@atomide.com> (raw)
In-Reply-To: <1347041433-11723-1-git-send-email-balbi@ti.com>

* Felipe Balbi <balbi@ti.com> [120907 11:15]:
> OMAP Architecture code, passes a few function
> pointers for UART driver to use in order to
> properly implement Power Management and Wakeup
> capabilities.
> 
> The problem is that those function pointers,
> which are passed (ab)using platform_data on
> non-DT kernels, can't be passed down to drivers
> through DT.
> 
> commit e5b57c0 (serial: omap: define helpers
> for pdata function pointers) failed to take DT
> kernels into consideration and caused a regression
> to DT kernel boot.
> 
> Fix that by (re-)adding a check for valid pdata
> pointer together with valid pdata->$FUNCTION
> pointer.
> 
> Reported-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Felipe Balbi <balbi@ti.com>
> ---
> 
> Tony, does this solve the issue ?

Yes thanks console works again now:

Tested-by: Tony Lindgren <tony@atomide.com>

  reply	other threads:[~2012-09-07 18:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07  5:21 [PATCH] serial: omap: fix compile breakage Felipe Balbi
2012-09-07  5:21 ` Felipe Balbi
2012-09-07  5:25 ` [PATCH v2] " Felipe Balbi
2012-09-07  5:25   ` Felipe Balbi
2012-09-07 15:31   ` Greg KH
2012-09-07 15:31     ` Greg KH
2012-09-07 15:34     ` [PATCH] " Felipe Balbi
2012-09-07 15:34       ` Felipe Balbi
2012-09-07 15:40       ` Greg KH
2012-09-07 15:40         ` Greg KH
2012-09-07 17:57         ` Tony Lindgren
2012-09-07 17:57           ` Tony Lindgren
2012-09-07 18:10           ` [PATCH] serial: omap: fix DeviceTree boot Felipe Balbi
2012-09-07 18:10             ` Felipe Balbi
2012-09-07 18:26             ` Tony Lindgren [this message]
2012-09-07 18:26               ` 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=20120907182638.GJ1303@atomide.com \
    --to=tony@atomide.com \
    --cc=balbi@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.