Added some extra debug info for vdd_level being set on bootup, and fixed another warning in WiFi driver.

The warning was preventing me compiling using the latest CodeSourcery toolchain with optimizations.
This commit is contained in:
Jon Benson 2010-11-18 12:36:22 +11:00
parent e9c3ac0e31
commit 260b0ba01a
2 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ static int acpuclk_set_vdd_level(int vdd)
*/
return 0;
}
pr_info("acpuclk_set_vdd_level got regulator\n");
pr_info("acpuclk_set_vdd_level got regulator setting vdd_level %d \n", vdd);
}
vdd *= 1000; /* mV -> uV */
return regulator_set_voltage(drv_state.regulator, vdd, vdd);

View File

@ -911,7 +911,7 @@ static int btcoex_dhcp_timer_start(struct net_device *dev)
char buf_reg41va_dhcp_on[8] = { 41, 00, 00, 00, 0x33, 0x00, 0x00, 0x00 };
char buf_reg68va_dhcp_on[8] = { 68, 00, 00, 00, 0x90, 0x01, 0x00, 0x00 };
char buf_reg12va_sco_time[4] = { 12, 0, 0, 0};
int sco_lasttime;
int sco_lasttime = 0;
int ret;
bcm_mkiovar("btc_params", (char*)&buf_reg12va_sco_time[0], sizeof(buf_reg12va_sco_time), ioctlbuf, sizeof(ioctlbuf));