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]

 



On 11/24/2011 01:40 PM, Sergei Shtylyov wrote:
Hello.

Hi,


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

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

WBR, Sergei

What about:

The read and write operation is atomic and we need no locking around
it. What we need is to ensure that the content of DWC3_GCTL has not
been changed between the read and write operation. This patch provides
the required insurance.

Sebastian
--
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