lkml.org 
[lkml]   [2010]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [MeeGo-Dev][PATCH] Topcliff: Update PCH_SPI driver to 2.6.35
From
2010/9/3 Grant Likely <grant.likely@secretlab.ca>:
> 2010/9/3 Masayuki Ohtak <masa-korg@dsn.okisemi.com>:
>> SPI driver of Topcliff PCH

> Instead, the majority of the code should be structured to handle one
> and only one spi bus instance.  Only at the top level pci probe,
> remove and PM code should there be for() loops for setting up or
> tearing down each spi bus instance one at a time.

I guess an elegant way to achieve this is to have the
PCI driver spawn a simple platform device for each bus.
Then you can even break the driver for that platform device
into its own file and all.

In the MFDs we spawn child platform devices all the time,
it's great fun!

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-09-03 19:53    [W:0.052 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site