diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2015-04-23 00:26:47 +0200 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2015-04-23 00:32:52 +0200 |
commit | 2fe256495cbc7cc477d67fe5de5693884e8591b6 (patch) | |
tree | 172add987e2a45f9190701c494b6e64b5c722725 /recipes-kernel/linux/linux-handheld-4.0/h1940/0012-ARM-s3c24xx-ADC-port-to-common-clock-framework.patch | |
parent | dd8a5c0df939e8142c10d1aa719f6f1ccd331abe (diff) | |
download | meta-handheld-2fe256495cbc7cc477d67fe5de5693884e8591b6.tar.gz |
linux-handheld_4.0: add ipaq h1940 patches and defconfig
Patches provided and tested by Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.0/h1940/0012-ARM-s3c24xx-ADC-port-to-common-clock-framework.patch')
-rw-r--r-- | recipes-kernel/linux/linux-handheld-4.0/h1940/0012-ARM-s3c24xx-ADC-port-to-common-clock-framework.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.0/h1940/0012-ARM-s3c24xx-ADC-port-to-common-clock-framework.patch b/recipes-kernel/linux/linux-handheld-4.0/h1940/0012-ARM-s3c24xx-ADC-port-to-common-clock-framework.patch new file mode 100644 index 0000000..aa203d4 --- /dev/null +++ b/recipes-kernel/linux/linux-handheld-4.0/h1940/0012-ARM-s3c24xx-ADC-port-to-common-clock-framework.patch @@ -0,0 +1,37 @@ +From 9a55093973be59c1ae7364b4c59cee36103937d2 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick <anarsoul@gmail.com> +Date: Tue, 21 Apr 2015 21:05:32 +0300 +Subject: [PATCH 12/15] ARM: s3c24xx: ADC: port to common clock framework + +Replace clk_enable/clk_disable with clk_prepare_enable/clk_disable_unprepare + +Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> +--- + arch/arm/plat-samsung/adc.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c +index e2be70d..38444b9 100644 +--- a/arch/arm/plat-samsung/adc.c ++++ b/arch/arm/plat-samsung/adc.c +@@ -389,7 +389,7 @@ static int s3c_adc_probe(struct platform_device *pdev) + if (ret) + return ret; + +- clk_enable(adc->clk); ++ clk_prepare_enable(adc->clk); + + tmp = adc->prescale | S3C2410_ADCCON_PRSCEN; + +@@ -413,7 +413,7 @@ static int s3c_adc_remove(struct platform_device *pdev) + { + struct adc_device *adc = platform_get_drvdata(pdev); + +- clk_disable(adc->clk); ++ clk_disable_unprepare(adc->clk); + regulator_disable(adc->vdd); + + return 0; +-- +2.3.5 + |