All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Bryan Wu <cooloney@kernel.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Michael Hennerich <michael.hennerich@analog.com>
Subject: Re: [PATCH] USB/ISP1760: Add support for the generic platfrom device centralized driver model (v2)
Date: Tue, 18 Nov 2008 11:52:09 +0100	[thread overview]
Message-ID: <49229E59.8040306@linutronix.de> (raw)
In-Reply-To: <1227000093-19034-1-git-send-email-cooloney@kernel.org>

Bryan Wu wrote:
> From: Michael Hennerich <michael.hennerich@analog.com>
> 
> v2-v1:
>  - cleanup style issue
>  - add Kconfig option CONFIG_USB_ISP1760_PDEV
>  - isp1760 interrupt is default setup TRIGGER_LOW
Trigger low should be fine.

> 
> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
> Signed-off-by: Bryan Wu <cooloney@kernel.org>
> ---
>  drivers/usb/host/Kconfig      |    6 +++
>  drivers/usb/host/isp1760-if.c |   95 +++++++++++++++++++++++++++++++++++++++++
>  include/linux/usb/isp1760.h   |   19 ++++++++
>  3 files changed, 120 insertions(+), 0 deletions(-)
>  create mode 100644 include/linux/usb/isp1760.h
> 
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 427b3ac..1e38e8a 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -123,6 +123,12 @@ config USB_ISP1760_HCD
>  	  To compile this driver as a module, choose M here: the
>  	  module will be called isp1760.
>  
> +config USB_ISP1760_PDEV
> +	bool "Support for the generic platfrom device driver model"
> +	depends on USB_ISP1760_HCD
> +	---help---
> +	  Enables support for the generic platfrom device centralized driver model
> +

This is probably a misunderstanding. In the previous email I was refering 
the patch [1] which removes the Kconfig entries and makes it 
unconditional. Since platform device are always available we can get rid 
of depend on PCI || OF in Kconfig and depend just on USB same like isp116x 
does. The patch I am refering to is mainline so this won't apply, sorry.
I'm fine with the other parts of the patch.

[1] http://marc.info/?l=linux-usb&m=122563596420156&w=2


Sebastian

  reply	other threads:[~2008-11-18 10:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18  9:21 [PATCH] USB/ISP1760: Add support for the generic platfrom device centralized driver model (v2) Bryan Wu
2008-11-18 10:52 ` Sebastian Andrzej Siewior [this message]
2008-11-24 15:44 ` Enrico Scholz

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=49229E59.8040306@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=cooloney@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=michael.hennerich@analog.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 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.