Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging

* 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
staging: r8712u: Add new USB ID
staging: tidspbridge: request dmtimer clocks on init
staging: tidspbridge: include module.h by default

+13 -7
+1
drivers/staging/rtl8712/usb_intf.c
··· 89 89 {USB_DEVICE(0x0DF6, 0x0045)}, 90 90 {USB_DEVICE(0x0DF6, 0x0059)}, /* 11n mode disable */ 91 91 {USB_DEVICE(0x0DF6, 0x004B)}, 92 + {USB_DEVICE(0x0DF6, 0x005D)}, 92 93 {USB_DEVICE(0x0DF6, 0x0063)}, 93 94 /* Sweex */ 94 95 {USB_DEVICE(0x177F, 0x0154)},
+12 -3
drivers/staging/tidspbridge/core/dsp-clock.c
··· 54 54 55 55 /* Bridge GPT id (1 - 4), DM Timer id (5 - 8) */ 56 56 #define DMT_ID(id) ((id) + 4) 57 + #define DM_TIMER_CLOCKS 4 57 58 58 59 /* Bridge MCBSP id (6 - 10), OMAP Mcbsp id (0 - 4) */ 59 60 #define MCBSP_ID(id) ((id) - 6) ··· 115 114 */ 116 115 void dsp_clk_exit(void) 117 116 { 117 + int i; 118 + 118 119 dsp_clock_disable_all(dsp_clocks); 120 + 121 + for (i = 0; i < DM_TIMER_CLOCKS; i++) 122 + omap_dm_timer_free(timer[i]); 119 123 120 124 clk_put(iva2_clk); 121 125 clk_put(ssi.sst_fck); ··· 136 130 void dsp_clk_init(void) 137 131 { 138 132 static struct platform_device dspbridge_device; 133 + int i, id; 139 134 140 135 dspbridge_device.dev.bus = &platform_bus_type; 136 + 137 + for (i = 0, id = 5; i < DM_TIMER_CLOCKS; i++, id++) 138 + timer[i] = omap_dm_timer_request_specific(id); 141 139 142 140 iva2_clk = clk_get(&dspbridge_device.dev, "iva2_ck"); 143 141 if (IS_ERR(iva2_clk)) ··· 214 204 clk_enable(iva2_clk); 215 205 break; 216 206 case GPT_CLK: 217 - timer[clk_id - 1] = 218 - omap_dm_timer_request_specific(DMT_ID(clk_id)); 207 + status = omap_dm_timer_start(timer[clk_id - 1]); 219 208 break; 220 209 #ifdef CONFIG_OMAP_MCBSP 221 210 case MCBSP_CLK: ··· 290 281 clk_disable(iva2_clk); 291 282 break; 292 283 case GPT_CLK: 293 - omap_dm_timer_free(timer[clk_id - 1]); 284 + status = omap_dm_timer_stop(timer[clk_id - 1]); 294 285 break; 295 286 #ifdef CONFIG_OMAP_MCBSP 296 287 case MCBSP_CLK:
-4
drivers/staging/tidspbridge/rmgr/drv_interface.c
··· 24 24 #include <linux/types.h> 25 25 #include <linux/platform_device.h> 26 26 #include <linux/pm.h> 27 - 28 - #ifdef MODULE 29 27 #include <linux/module.h> 30 - #endif 31 - 32 28 #include <linux/device.h> 33 29 #include <linux/init.h> 34 30 #include <linux/moduleparam.h>