Re: [PATCH v4 0/2] OMAP: DSS2: Framework to handle omap version specific DSS features

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

 



On Wed, 2010-09-15 at 19:59 +0200, ext Tony Lindgren wrote:
> * archit@xxxxxx <archit@xxxxxx> [100915 07:00]:
> > From: Archit Taneja <archit@xxxxxx>
> > 
> > This is a simple approach to prevent scattered cpu_is_omapxxxx checks
> > in DSS2 by bringing all omap version specific DSS features/values to one
> > single place, initialize them and expose a set of functions to DSS2 driver
> > files which return the value/existance of a feature.
> 
> Glad to hear. We should absolutely not use cpu_is_omapxxxx checks
> anywhere in the drivers. The drivers should be arch independent.
> Basically any driver using those is broken from Linux point of view.

Yep. This patch set won't accomplish that, but after they have been
moved to one central place, it'll be much easier to remove the
cpu_is_omapxxxx calls totally from the driver.

 Tomi


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