Re: [PATCH] usb: dwc3: cleanup DWC3_DCTL_LSFTRST bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, May 29, 2013 at 02:05:43PM +0800, Huang Rui wrote:
> Hi Felipe,
> 
> On Wed, May 29, 2013 at 01:25:59AM +0800, Felipe Balbi wrote:
> > On Tue, May 28, 2013 at 03:42:50PM +0800, Huang Rui wrote:
> > > This bit is removed and set as reserved in 2.50a spec.
> > > 
> > > Signed-off-by: Huang Rui <ray.huang@xxxxxxx>
> > 
> > so ? This driver also works on older versions of the core. What you
> > should do is, perhaps, add a comment saying that this bit shouldn't be
> > used in v2.50a+, then we need to keep an eye for any future users of
> > that bit and make sure that there is proper revision detection around
> > it.
> 
> Thanks to your reply. I greped codes, in current driver didn't use
> this bit, and I saw that the bit is marked as reserved in 2.50a spec.
> I don't confirm this bit should use in v2.50a+, if it will be used or
> I was wrong, please correct me. 
> I just looked at register mapping, and compared with spec and found
> this bit is reserved, so I send this patch to remove this define to
> prevent to confuse. :)

it's reserved for 2.50a, what about all the older versions ? What if
some older version needs light soft-reset ?

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux