Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Masayuki Ohtake
Date: Friday, August 27, 2010 - 6:30 am

----- Original Message ----- 
From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Masayuki Ohtak" <masa-korg@dsn.okisemi.com>
Cc: <meego-dev@meego.com>; "LKML" <linux-kernel@vger.kernel.org>; "David Brownell" <dbrownell@users.sourceforge.net>;
<spi-devel-general@lists.sourceforge.net>; <qi.wang@intel.com>; <yong.y.wang@intel.com>;
<andrew.chih.howe.khor@intel.com>; <arjan@linux.intel.com>; <gregkh@suse.de>
Sent: Saturday, August 14, 2010 3:49 PM
Subject: Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35



How can the driver detect ?
Could you show reference driver ?


"spi_pch_platform_device.o" must be installed than spidev.o.
In case,  spi_pch and spidev is integrated as module,
it seems spidev is installed firstly.
If you know the install order control, please how to control install ordering.


I understand your saying.
But this macro uses for both setting value and returned value.
If replacing inline function, we should make 4 functions(set/clear * void/u32)
Thus, I want to use these macros.


As to 'pch_spi_gcbptr', I agree with you.

As to mutex, since many drivers accepted by upstream use 'static DEFINE_MUTEX',
I think it is right to use it.


Yes, you are right.

I will remove.

I should have set bus number.
Thus, I think
p_master[j]->bus_num = i;

It seems I can't find API for spi_register_board_info.




Thanks, Ohtake(OKISEMI)



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35, Grant Likely, (Fri Aug 13, 11:49 pm)
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35, Masayuki Ohtake, (Tue Aug 17, 12:34 am)
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35, Linus Walleij, (Thu Aug 19, 12:31 am)
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35, Masayuki Ohtake, (Thu Aug 19, 7:20 pm)
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35, Masayuki Ohtake, (Fri Aug 27, 6:30 am)
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35, Grant Likely, (Fri Aug 27, 10:15 am)
Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35, Masayuki Ohtake, (Mon Aug 30, 11:55 pm)