mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] atmel-mci: fix sdc_reg typo
@ 2009-03-24 10:06 Haavard Skinnemoen
  2009-03-24 20:07 ` Pierre Ossman
  0 siblings, 1 reply; 2+ messages in thread
From: Haavard Skinnemoen @ 2009-03-24 10:06 UTC (permalink / raw)
  To: Pierre Ossman
  Cc: Nicolas Ferre, kernel, linux-kernel, Hans-Christian Egtvedt,
	Haavard Skinnemoen

From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>

This fixes a bug when setting the sdc_reg for 4-bit bus width
transactions.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
---
 drivers/mmc/host/atmel-mci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 2b1196e..cab1ddb 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -812,7 +812,7 @@ static void atmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
 		slot->sdc_reg |= MCI_SDCBUS_1BIT;
 		break;
 	case MMC_BUS_WIDTH_4:
-		slot->sdc_reg = MCI_SDCBUS_4BIT;
+		slot->sdc_reg |= MCI_SDCBUS_4BIT;
 		break;
 	}
 
-- 
1.6.0.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] atmel-mci: fix sdc_reg typo
  2009-03-24 10:06 [PATCH] atmel-mci: fix sdc_reg typo Haavard Skinnemoen
@ 2009-03-24 20:07 ` Pierre Ossman
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2009-03-24 20:07 UTC (permalink / raw)
  To: Haavard Skinnemoen
  Cc: Nicolas Ferre, kernel, linux-kernel, Hans-Christian Egtvedt,
	Haavard Skinnemoen

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

On Tue, 24 Mar 2009 11:06:06 +0100
Haavard Skinnemoen <haavard.skinnemoen@atmel.com> wrote:

> From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
> 
> This fixes a bug when setting the sdc_reg for 4-bit bus width
> transactions.
> 
> Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
> ---

Queued, thanks.

-- 
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-24 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 10:06 [PATCH] atmel-mci: fix sdc_reg typo Haavard Skinnemoen
2009-03-24 20:07 ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®