public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <felipe.balbi@nokia.com>
To: ext Jacob Tanenbaum <Jacob.Tanenbaum@logicpd.com>
Cc: "linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"rmk@arm.linux.org.uk" <rmk@arm.linux.org.uk>,
	"tony@atomide.com" <tony@atomide.com>
Subject: Re: [PATCH 2/4]  Low-level initialization for hsmmc controller on LogicPD's OMAP3 SOM and TORPEDO dev kits
Date: Wed, 11 Aug 2010 20:25:32 +0300	[thread overview]
Message-ID: <20100811172532.GB21391@nokia.com> (raw)
In-Reply-To: <1281544297-18015-2-git-send-email-Jacob.Tanenbaum@logicpd.com>

Hi,

On Wed, Aug 11, 2010 at 06:31:35PM +0200, ext Jacob Tanenbaum wrote:
>+#define OMAP3_TORPEDO_MMC_GPIO_WP               (-EINVAL)

this one isn't used anywhere, why adding it ?

>+static struct regulator_init_data omap3logic_vmmc1 = {
>+	.constraints = {
>+		.name			= "VMMC1",
>+		.min_uV			= 1850000,
>+		.max_uV			= 3150000,
>+		.valid_modes_mask	= REGULATOR_MODE_NORMAL
>+					| REGULATOR_MODE_STANDBY,
>+		.valid_ops_mask		= REGULATOR_CHANGE_VOLTAGE
>+					| REGULATOR_CHANGE_MODE
>+					| REGULATOR_CHANGE_STATUS,
>+	},
>+	.num_consumer_supplies  = 1,
>+	.consumer_supplies      = &omap3logic_vmmc1_supply,
>+};
>+
>+
>+

one blank line only.

>+	} else {
>+		printk(KERN_ERR "%s(): unknown machine type\n", __func__);
>+	return;

indentation is wrong.

>+	omap2_hsmmc_init(board_mmc_info);
>+	/* link regulators to MMC adapters */
>+	omap3logic_vmmc1_supply.dev = board_mmc_info[0].dev;
>+}
>+
>+
>+

one blank line only.

> 	/* Ensure SDRC pins are mux'd for self-refresh */
>-/*	omap_cfg_reg(H16_34XX_SDRC_CKE0);
>-	omap_cfg_reg(H17_34XX_SDRC_CKE1);
>-	omap_cfg_reg(SDRC_CKE0);
>-	omap_cfg_reg(SDRC_CKE1); */

this shouldn't even be here in the first place. :-)

-- 
balbi

DefectiveByDesign.org

  parent reply	other threads:[~2010-08-11 17:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 16:31 [PATCH 1/4] initial support for LogicPD's OMAP3 SOM and TORPEDO development kits Jacob Tanenbaum
2010-08-11 16:31 ` [PATCH 2/4] Low-level initialization for hsmmc controller on LogicPD's OMAP3 SOM and TORPEDO dev kits Jacob Tanenbaum
2010-08-11 16:31   ` [PATCH 3/4] add generic smsc911x support for LogicPD's OMAP3 TORPEDO and SOM " Jacob Tanenbaum
2010-08-11 16:31     ` [PATCH 4/4] enabling Ethernet " Jacob Tanenbaum
2010-08-11 17:25   ` Felipe Balbi [this message]
2010-08-11 18:47     ` [PATCH 2/4] Low-level initialization for hsmmc controller on LogicPD's OMAP3 SOM and TORPEDO " Jacob Tanenbaum
2010-08-11 18:07   ` Kevin Hilman
2010-08-11 17:22 ` [PATCH 1/4] initial support for LogicPD's OMAP3 SOM and TORPEDO development kits Felipe Balbi
2010-08-11 18:45   ` Jacob Tanenbaum
2010-08-11 18:49     ` Felipe Balbi
2010-08-11 18:51       ` Jacob Tanenbaum
2010-08-11 18:54         ` Felipe Balbi
2010-08-11 17:54 ` Sam Ravnborg
2010-08-11 18:53   ` [PATCH 1/4] initial support for LogicPD's OMAP3 SOM andTORPEDO " Jacob Tanenbaum
2010-08-11 18:57     ` Sam Ravnborg
2010-08-11 18:04 ` [PATCH 1/4] initial support for LogicPD's OMAP3 SOM and TORPEDO " Kevin Hilman
2010-08-11 18:53   ` Jacob Tanenbaum

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=20100811172532.GB21391@nokia.com \
    --to=felipe.balbi@nokia.com \
    --cc=Jacob.Tanenbaum@logicpd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=rmk@arm.linux.org.uk \
    --cc=tony@atomide.com \
    /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