lkml.org 
[lkml]   [2012]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/1]linux-usb: optimize to match the Huawei USB storage devices and support new switch command
Date
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



\
 
 \ /
  Last update: 2012-12-14 12:21    [W:0.026 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site