Re: [PATCH 15/34] usb: dwc3: debugfs: hold the lock in during mode change

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

 



Hello.

On 24-11-2011 15:02, Felipe Balbi wrote:

From: Sebastian Andrzej Siewior<bigeasy@xxxxxxxxxxxxx>

The read and write operation is atomic and we need no locking around
this operations. What we need however is a lock that is held which

   Hm... "to ensure" maybe?

ensures that the content of the DWC3_GCTL has not been changed. With
this, the conten

   s/conten/content/

> may have been change changed after

   Change changed? :-)

> the first but before

   The first what?

our write back.

Signed-off-by: Sebastian Andrzej Siewior<bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Felipe Balbi<balbi@xxxxxx>

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux