Re: [PATCH] OMAP3: Fix McBSP poll read and write for 32bit reg access

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

 



On Thursday 15 October 2009 09:10:54 ext Shilimkar, Santosh wrote:
> > > > > > -   writew(buf, base + OMAP_MCBSP_REG_DXR1);
> > > > > > +   OMAP_MCBSP_WRITE(base, DXR, buf);
> > > > >
> > > > > Why do you need this? Is writew()/readw() not doing 16 bit
> > > > > operations  ?
> > > >
> > > > The intension is to use 32 bit access and not 16 bit access
> > >
> > > Use readl() / writel() then.
> >
> > Yes,  OMAP_MCBSP_WRITE macro makes use of readl() / writel() for OMAP3
> 
> Good!! Then get rid of this macro and directly use kernel standard
>  API-	readl() / writel() --

Well, OMAP1 and OMAP2 still has 16 bit registers in McBSP.

-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux