From: Andres Salomon <dilinger@queued.net>
To: gregkh@suse.de
Cc: linux-kernel@vger.kernel.org, cjb@laptop.org,
jon.nettleton@gmail.com, devel@driverdev.osuosl.org
Subject: Re: [PATCH 1/3] staging: olpc_dcon: remove noinit module variable
Date: Thu, 18 Aug 2011 15:27:50 -0700 [thread overview]
Message-ID: <20110818152750.6d393c43@debxo> (raw)
In-Reply-To: <20110721203743.71c0aaee@debxo>
Hi Greg,
Did you see these? I haven't seen any emails about them being merged
into the staging tree yet..
On Thu, 21 Jul 2011
20:37:43 -0700 Andres Salomon <dilinger@queued.net> wrote:
> This came from Jordan's original 2007 gxfb_dcon commit. I've never
> seen or heard of it actually being used. Presumably it was once
> useful for skipping hardware initialization when reloading the module
> over and over during driver development..
>
> Signed-off-by: Andres Salomon <dilinger@queued.net>
> ---
> drivers/staging/olpc_dcon/olpc_dcon.c | 7 ++-----
> 1 files changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c
> b/drivers/staging/olpc_dcon/olpc_dcon.c index 750fe50..cf4b454 100644
> --- a/drivers/staging/olpc_dcon/olpc_dcon.c
> +++ b/drivers/staging/olpc_dcon/olpc_dcon.c
> @@ -36,9 +36,6 @@
> static int resumeline = 898;
> module_param(resumeline, int, 0444);
>
> -static int noinit;
> -module_param(noinit, int, 0444);
> -
> /* Default off since it doesn't work on DCON ASIC in B-test OLPC
> board */ static int useaa = 1;
> module_param(useaa, int, 0444);
> @@ -90,7 +87,7 @@ static int dcon_hw_init(struct dcon_priv *dcon, int
> is_init) }
> }
>
> - if (ver < 0xdc02 && !noinit) {
> + if (ver < 0xdc02) {
> /* Initialize the DCON registers */
>
> /* Start with work-arounds for DCON ASIC */
> @@ -106,7 +103,7 @@ static int dcon_hw_init(struct dcon_priv *dcon,
> int is_init) i2c_smbus_write_word_data(client, 0x3b, 0x002b);
> i2c_smbus_write_word_data(client, 0x41, 0x0101);
> i2c_smbus_write_word_data(client, 0x42, 0x0101);
> - } else if (!noinit) {
> + } else {
> /* SDRAM setup/hold time */
> i2c_smbus_write_word_data(client, 0x3a, 0xc040);
> i2c_smbus_write_word_data(client, 0x41, 0x0000);
next prev parent reply other threads:[~2011-08-18 22:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 3:37 [PATCH 1/3] staging: olpc_dcon: remove noinit module variable Andres Salomon
2011-08-18 22:27 ` Andres Salomon [this message]
2011-08-18 23:14 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110818152750.6d393c43@debxo \
--to=dilinger@queued.net \
--cc=cjb@laptop.org \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=jon.nettleton@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox