[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4728D1AB.7060100@cyberdata.net>
Date: Wed, 31 Oct 2007 12:04:11 -0700
From: Cameron Barfield <cbarfield@...erdata.net>
To: bryan.wu@...log.com
CC: David Brownell <david-b@...bell.net>,
spi-devel-general@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 13/14] Blackfin SPI driver: Move cs_chg_udelay to cs_deactive
to fix bug when some SPI LCD driver needs delay after cs_deactive
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It may be hardware specific for our board, but my thought is that any device should be
able to take advantage of the cs_chg_udelay regardless of which write function it uses.
As far as I can see, there is no where else to make a clean change to allow devices that
use the "normal" write function the ability to take advantage of cs_chg_udelay.
Bryan Wu wrote:
> On Tue, 2007-10-30 at 13:18 -0700, David Brownell wrote:
>> On Tuesday 30 October 2007, Bryan Wu wrote:
>>> @@ -211,6 +211,10 @@ static void cs_deactive(struct driver_data *drv_data, struct chip_data *chip)
>>> flag |= (chip->flag << 8);
>>>
>>> write_FLAG(drv_data, flag);
>>> +
>>> + /* Move delay here for consistency */
>>> + if (chip->cs_chg_udelay)
>>> + udelay(chip->cs_chg_udelay);
>>> }
>>>
>> By the way, if this is something needed very often, that mechanism
>> should be moved into the SPI framework. It wouldn't be polite if
>> such LCD drivers could only work on Blackfin boards. :)
>
> I am not sure whether this LCD needs cs_chg_udelay on other boards.
> It is found by Cameron Barfield. Maybe it is some timing requirement for
> specific hardware.
>
> -Bryan Wu
>
>
- --
NOTICE AND DISCLAIMER:
This e-mail message and any attachments may contain confidential information intended
solely for the specified individual(s).
If you are not the intended recipient, you are prohibited from viewing, disseminating,
copying, disclosing, or relying upon this
message or any attachment in any way.
If you received this e-mail in error, you should (1) immediately notify the sender by
forwarding this e-mail to him, her, or it and
(2) delete the original e-mail message and all attachments without reading or saving any
of them in any manner.
CyberData Corporation does not accept liability for any damage caused by any virus
transmitted through this e-mail or its
attachments. CyberData Corporation does not accept liability for any errors or omissions
in the contents of this e-mail
message or any of its attachments.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHKNGq49ZuPDUolt0RAqq/AJ4pU67Hopp42saSVhxAbSHXK8CPCgCfTjTx
ky1p5ou7vrNBTR4VB3b9zQc=
=3UiY
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists