diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
commit | 614683faf8029100802db06a825648d0b6490285 (patch) | |
tree | 7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1139-clean-sdio-hcd-suspend.patch.patch | |
parent | 4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff) | |
download | mtk-20170518-614683faf8029100802db06a825648d0b6490285.zip mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.gz mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.bz2 |
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1139-clean-sdio-hcd-suspend.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1139-clean-sdio-hcd-suspend.patch.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1139-clean-sdio-hcd-suspend.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1139-clean-sdio-hcd-suspend.patch.patch new file mode 100644 index 0000000..6ba7ae9 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1139-clean-sdio-hcd-suspend.patch.patch @@ -0,0 +1,56 @@ +From 401eb535cb94e53ba4ff1a04caafe96b7d4d1981 Mon Sep 17 00:00:00 2001 +From: Andy Green <agreen@localhost.localdomain> +Date: Wed, 30 Apr 2008 13:34:14 +0100 +Subject: [PATCH] clean-sdio-hcd-suspend.patch + +fix trailing whitespace and function args for suspend. + +Signed-off-by: Andy Green <andy@openmoko.com> +--- + drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c | 12 ++++++------ + 1 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c b/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c +index 7ead7b7..1292020 100644 +--- a/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c ++++ b/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c +@@ -1364,11 +1364,11 @@ static int s3c24xx_hcd_remove(struct platform_device * pdev) { + return 0; + } + +-#ifdef CONFIG_PM ++#ifdef CONFIG_PM + +-static int s3c24xx_hcd_suspend(struct platform_device * pdev) ++static int s3c24xx_hcd_suspend(struct platform_device * pdev, pm_message_t state) + { +- struct s3c24xx_hcd_context * context = &hcd_context; ++ struct s3c24xx_hcd_context * context = &hcd_context; + unsigned long flags; + + spin_lock_irqsave(&context->lock, flags); +@@ -1389,18 +1389,18 @@ static int s3c24xx_hcd_suspend(struct platform_device * pdev) + context->suspend_regs.datsta = readl(context->base + S3C2410_SDIDSTA); + context->suspend_regs.fsta = readl(context->base + S3C2410_SDIFSTA); + context->suspend_regs.imask = readl(context->base + S3C2440_SDIIMSK); +- ++ + spin_unlock_irqrestore(&context->lock, flags); + return 0; + } + + static int s3c24xx_hcd_resume(struct platform_device * pdev) +-{ ++{ + struct s3c24xx_hcd_context * context = &hcd_context; + unsigned long flags; + + spin_lock_irqsave(&context->lock, flags); +- ++ + writel(context->suspend_regs.con, context->base + S3C2410_SDICON); + writel(context->suspend_regs.pre, context->base + S3C2410_SDIPRE); + writel(context->suspend_regs.cmdarg, context->base + S3C2410_SDICMDARG); +-- +1.5.6.5 + |