Re: Need some help on the comments.--> drivers/usb/musb/musg_gadget.c

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

 



Hi,

On Wed, Aug 24, 2011 at 04:44:49PM +0530, sameer sharma wrote:
>    I found a comment in your driver code.
> 
>    ** drivers/usb/musb/musg_gadget.c
> 
>    /*
>    �* The programming guide says that we must not clear
>    �* the DMAMODE bit before DMAENAB, so we only
>    �* clear it in the second write...
>    �*/
> 
>    Q.1 --> Can I have explanation on that?

what's there's to explain ? You must clear both bits together, so you
clear DMAENAB, then on a second write to that register, you clear
DMAMODE.

>    Q. --> From where can I get the programming guide which is being mentioned
>    in the above code's comments?

you need to ask your Mentor representative, or the company who sold you
an SoC with Mentor OTG core.

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