mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.de>
To: "Fangxiaozhi (Franko)" <fangxiaozhi@huawei.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Xueguiying (Zihan)" <zihan.xue@huawei.com>,
	"Linlei (Lei Lin)" <lei.lin@huawei.com>,
	"greg@kroah.com" <greg@kroah.com>,
	"Yili (Neil)" <neil.yi@huawei.com>,
	"Wangyuhua (Roger, Credit)" <wangyuhua@huawei.com>,
	Huqiao <huqiao36@huawei.com>
Subject: Re: [PATCH 1/1]linux-usb: optimize to match the Huawei USB storage devices and support new switch command
Date: Fri, 14 Dec 2012 11:42:34 +0100	[thread overview]
Message-ID: <6646955.7QFMbxFQIx@linux-lqwf.site> (raw)
In-Reply-To: <910F9D9E13B84F4C8FA771DC9BDE99F326FC0242@szxeml546-mbs.china.huawei.com>

On Friday 14 December 2012 10:28:31 Fangxiaozhi wrote:

Hi,

> > For such devices we should put the switching code into generic code, not a
> > device driver so that we have a chance to do reset_resume() on those
> > devices.
> --------------Because in many embedded linux system, they don't include such switch tools themselves. 
> 			So I think it is better to put the switching code in device driver.

Well, that argues for doing it in the kernel. Where you do it in the kernel shouldn't
matter.

> --------------By the way, because our device will response the switching command for once, 
> 			so I think you can do reset_resume() as you want.

What happens if S3 cuts power to the device?

	Regards
		Oliver


  reply	other threads:[~2012-12-14 10:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 10:20 fangxiaozhi 00110321
2012-12-12 10:28 ` Felipe Balbi
2012-12-12 10:51 ` Alan Cox
     [not found]   ` <910F9D9E13B84F4C8FA771DC9BDE99F326FBFB54@szxeml546-mbs.china.huawei.com>
2012-12-14  9:31     ` Alan Cox
2012-12-14  9:33       ` Oliver Neukum
2012-12-14 10:28         ` Fangxiaozhi (Franko)
2012-12-14 10:42           ` Oliver Neukum [this message]
2012-12-14 10:02       ` 答复: " Fangxiaozhi (Franko)
2013-01-05  2:57 [PATCH 1/1]linux-usb:optimize " fangxiaozhi 00110321
2013-01-08 10:57 ` Sebastian Andrzej Siewior
2013-01-08 11:58   ` Oliver Neukum
2013-01-23  6:07 fangxiaozhi 00110321

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=6646955.7QFMbxFQIx@linux-lqwf.site \
    --to=oneukum@suse.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=fangxiaozhi@huawei.com \
    --cc=greg@kroah.com \
    --cc=huqiao36@huawei.com \
    --cc=lei.lin@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=neil.yi@huawei.com \
    --cc=wangyuhua@huawei.com \
    --cc=zihan.xue@huawei.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

all inboxes | Powered by JetHome®