public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: linux-arm-kernel@lists.infradead.org
Subject: AT91: Move non-portable processor-specific code out of USB Gadget drivers
Date: Mon, 2 May 2011 15:11:21 -0700	[thread overview]
Message-ID: <20110502221121.GB31075@kroah.com> (raw)
In-Reply-To: <1304373608.1628.19.camel@redbox>

On Tue, May 03, 2011 at 12:00:08AM +0200, Andrew Victor wrote:
> For supporting multiple AT91 processors in a single kernel image, the
> address of system-peripherals cannot be determined at compile-time.
> Therefore we need to remove calls to the at91_sys_read/at91_sys_write
> macro's and any "#ifdef CONFIG_ARCH_AT91xxx" code.
> 
> In the USB Gadget subsystems there are 2 instances:
>  * controlling the pullup for the AT91SAM9261.
>  * controlling the bias for the AT91SAM9RL.
> 
> The following patch add a "pullup" method to the "struct at91_udc_data"
> platform-data, and a "set_bias" method to the "struct
> usba_platform_data".  The code for the two instances above is moved from
> the drivers and into the processor-specific code.  The driver's access
> the code via the methods provided in the platform_data.
> 
> Signed-off-by: Andrew Victor <linux@maxim.org.za>

Acked-by:
	Greg Kroah-Hartman <gregkh@suse.de>

Feel free to take this through some random ARM tree :)

thanks,

greg k-h

      reply	other threads:[~2011-05-02 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 22:00 AT91: Move non-portable processor-specific code out of USB Gadget drivers Andrew Victor
2011-05-02 22:11 ` Greg KH [this message]

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=20110502221121.GB31075@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox