* [PATCH 3/3] mfd: asic3: Add PCMCIA/CF support
@ 2012-04-05 16:45 Paul Parsons
2012-04-10 19:21 ` Philipp Zabel
2012-04-16 15:45 ` Samuel Ortiz
0 siblings, 2 replies; 3+ messages in thread
From: Paul Parsons @ 2012-04-05 16:45 UTC (permalink / raw)
To: sameo; +Cc: linux-kernel, philipp.zabel
This patch is part of a set which adds PCMCIA/CF support for the hx4700.
This patch adds asic3_set_register() calls to:
1. Enable the PCMCIA/CF in asic3_probe().
2. Disable the PCMCIA/CF in asic3_remove().
Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
---
drivers/mfd/asic3.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index 1895cf9..0c083e7 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -998,6 +998,9 @@ static int __init asic3_probe(struct platform_device *pdev)
asic3_mfd_probe(pdev, pdata, mem);
+ asic3_set_register(asic, ASIC3_OFFSET(EXTCF, SELECT),
+ (ASIC3_EXTCF_CF0_BUF_EN|ASIC3_EXTCF_CF0_PWAIT_EN), 1);
+
dev_info(asic->dev, "ASIC3 Core driver\n");
return 0;
@@ -1019,6 +1022,9 @@ static int __devexit asic3_remove(struct platform_device *pdev)
int ret;
struct asic3 *asic = platform_get_drvdata(pdev);
+ asic3_set_register(asic, ASIC3_OFFSET(EXTCF, SELECT),
+ (ASIC3_EXTCF_CF0_BUF_EN|ASIC3_EXTCF_CF0_PWAIT_EN), 0);
+
asic3_mfd_remove(pdev);
ret = asic3_gpio_remove(pdev);
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 3/3] mfd: asic3: Add PCMCIA/CF support
2012-04-05 16:45 [PATCH 3/3] mfd: asic3: Add PCMCIA/CF support Paul Parsons
@ 2012-04-10 19:21 ` Philipp Zabel
2012-04-16 15:45 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2012-04-10 19:21 UTC (permalink / raw)
To: Paul Parsons; +Cc: sameo, linux-kernel
Am Donnerstag, den 05.04.2012, 17:45 +0100 schrieb Paul Parsons:
> This patch is part of a set which adds PCMCIA/CF support for the hx4700.
> This patch adds asic3_set_register() calls to:
> 1. Enable the PCMCIA/CF in asic3_probe().
> 2. Disable the PCMCIA/CF in asic3_remove().
>
> Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
> Cc: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
regards
Philipp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 3/3] mfd: asic3: Add PCMCIA/CF support
2012-04-05 16:45 [PATCH 3/3] mfd: asic3: Add PCMCIA/CF support Paul Parsons
2012-04-10 19:21 ` Philipp Zabel
@ 2012-04-16 15:45 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2012-04-16 15:45 UTC (permalink / raw)
To: Paul Parsons; +Cc: linux-kernel, philipp.zabel
Hi Paul,
On Thu, Apr 05, 2012 at 05:45:04PM +0100, Paul Parsons wrote:
> This patch is part of a set which adds PCMCIA/CF support for the hx4700.
> This patch adds asic3_set_register() calls to:
> 1. Enable the PCMCIA/CF in asic3_probe().
> 2. Disable the PCMCIA/CF in asic3_remove().
>
> Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
> Cc: Philipp Zabel <philipp.zabel@gmail.com>
> ---
> drivers/mfd/asic3.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
Patch applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-16 15:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05 16:45 [PATCH 3/3] mfd: asic3: Add PCMCIA/CF support Paul Parsons
2012-04-10 19:21 ` Philipp Zabel
2012-04-16 15:45 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox