diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-04-06 11:40:44 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-04-06 11:40:44 +0000 |
commit | f78c902cfd5c5f3375964be90878c44c4180cfa0 (patch) | |
tree | ba128669b4d02fa8157fa7edbccfe3962898b050 /target/linux/ramips/patches-3.8/0206-owrt-MIPS-ralink-add-pseudo-pwm-led-trigger-based-on.patch | |
parent | 202fb45debb80148c280275e299d90475d032490 (diff) | |
download | master-31e0f0ae-f78c902cfd5c5f3375964be90878c44c4180cfa0.tar.gz master-31e0f0ae-f78c902cfd5c5f3375964be90878c44c4180cfa0.tar.bz2 master-31e0f0ae-f78c902cfd5c5f3375964be90878c44c4180cfa0.zip |
kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36215
Diffstat (limited to 'target/linux/ramips/patches-3.8/0206-owrt-MIPS-ralink-add-pseudo-pwm-led-trigger-based-on.patch')
-rw-r--r-- | target/linux/ramips/patches-3.8/0206-owrt-MIPS-ralink-add-pseudo-pwm-led-trigger-based-on.patch | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/target/linux/ramips/patches-3.8/0206-owrt-MIPS-ralink-add-pseudo-pwm-led-trigger-based-on.patch b/target/linux/ramips/patches-3.8/0206-owrt-MIPS-ralink-add-pseudo-pwm-led-trigger-based-on.patch index cbf934583c..8e62d13bf1 100644 --- a/target/linux/ramips/patches-3.8/0206-owrt-MIPS-ralink-add-pseudo-pwm-led-trigger-based-on.patch +++ b/target/linux/ramips/patches-3.8/0206-owrt-MIPS-ralink-add-pseudo-pwm-led-trigger-based-on.patch @@ -9,8 +9,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org> arch/mips/ralink/timer.c | 213 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 197 insertions(+), 16 deletions(-) -diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c -index 9a943e8..33b2a04 100644 --- a/arch/mips/ralink/timer.c +++ b/arch/mips/ralink/timer.c @@ -12,6 +12,8 @@ @@ -63,7 +61,7 @@ index 9a943e8..33b2a04 100644 }; static inline void rt_timer_w32(struct rt_timer *rt, u8 reg, u32 val) -@@ -48,18 +68,46 @@ static inline u32 rt_timer_r32(struct rt_timer *rt, u8 reg) +@@ -48,18 +68,46 @@ static inline u32 rt_timer_r32(struct rt static irqreturn_t rt_timer_irq(int irq, void *_rt) { struct rt_timer *rt = (struct rt_timer *) _rt; @@ -114,7 +112,7 @@ index 9a943e8..33b2a04 100644 if (err) { dev_err(rt->dev, "failed to request irq\n"); } else { -@@ -81,8 +129,6 @@ static int rt_timer_config(struct rt_timer *rt, unsigned long divisor) +@@ -81,8 +129,6 @@ static int rt_timer_config(struct rt_tim else rt->timer_div = divisor; @@ -123,7 +121,7 @@ index 9a943e8..33b2a04 100644 return 0; } -@@ -108,11 +154,128 @@ static void rt_timer_disable(struct rt_timer *rt) +@@ -108,11 +154,128 @@ static void rt_timer_disable(struct rt_t rt_timer_w32(rt, TIMER_REG_TMR0CTL, t); } @@ -252,7 +250,7 @@ index 9a943e8..33b2a04 100644 if (!res) { dev_err(&pdev->dev, "no memory resource found\n"); -@@ -147,12 +310,29 @@ static int rt_timer_probe(struct platform_device *pdev) +@@ -147,12 +310,29 @@ static int rt_timer_probe(struct platfor if (!rt->timer_freq) return -EINVAL; @@ -285,7 +283,7 @@ index 9a943e8..33b2a04 100644 dev_info(&pdev->dev, "maximum frequncy is %luHz\n", rt->timer_freq); -@@ -163,6 +343,7 @@ static int rt_timer_remove(struct platform_device *pdev) +@@ -163,6 +343,7 @@ static int rt_timer_remove(struct platfo { struct rt_timer *rt = platform_get_drvdata(pdev); @@ -293,7 +291,7 @@ index 9a943e8..33b2a04 100644 rt_timer_disable(rt); rt_timer_free(rt); -@@ -187,6 +368,6 @@ static struct platform_driver rt_timer_driver = { +@@ -187,6 +368,6 @@ static struct platform_driver rt_timer_d module_platform_driver(rt_timer_driver); @@ -301,6 +299,3 @@ index 9a943e8..33b2a04 100644 +MODULE_DESCRIPTION("Ralink RT2880 timer / pseudo pwm"); MODULE_AUTHOR("John Crispin <blogic@openwrt.org"); MODULE_LICENSE("GPL"); --- -1.7.10.4 - |