Re: [PATCH v2] musb: am35x: fix compile error due to control apis

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

 



* Sergei Shtylyov <sshtylyov@xxxxxxxxxx> [101206 09:04]:
> Hello.
> 
> Gupta, Ajay Kumar wrote:
> 
> >>>As the control.h have been moved to new location and it's
> >>>uses are not allowed to drivers directly so moving the phy
> >>>control, interrupt clear and reset functionality to board
> >>>files.
> 
> >>    I'm not fond of the whole approach. I'm not sure why accesses to the
> >>control registers are such a no-no, taking into account that one needs to
> >>access such regisyter to clear the interrupt...

Because drivers should arch independent and any tinkering of the
platform level registers will lead into pains later on that
I end up having to deal with.

To me it seem you just init to separate out the transceiver,
right?
 
> >I think Tony is the right person to answer this :)
> 
>    Yeah, I thought he must be reading linux-omap...

I do yeah.. Might take a while to respond sometimes though :)

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