=Fix drp & ts driver, remove vibra(BUG freezy kernel)
This commit is contained in:
8
kernel-2.6.33/arch/arm/mach-pxa/g900/g900.c
Normal file → Executable file
8
kernel-2.6.33/arch/arm/mach-pxa/g900/g900.c
Normal file → Executable file
@@ -212,7 +212,6 @@ GPIO79_PSKTSEL //mb
|
||||
/****** TouchScreen for AK4183 Device ********/
|
||||
/***********************************************/
|
||||
|
||||
|
||||
static int ts_get_pendown_state(void)
|
||||
{
|
||||
//printk(KERN_INFO "\t >>> %s <<< \n", __FUNCTION__);
|
||||
@@ -232,7 +231,8 @@ struct ak4183_platform_data ak4183_info = {
|
||||
.model = 4183,
|
||||
.get_pendown_state = ts_get_pendown_state,
|
||||
.init_platform_hw = ts_init,
|
||||
.x_plate_ohms = 8000,
|
||||
.x_plate_ohms = 248,
|
||||
.y_plate_ohms = 516,
|
||||
// .clear_penirq = true,
|
||||
};
|
||||
|
||||
@@ -468,7 +468,7 @@ struct libertas_spi_platform_data g900_libertas_pdata = {
|
||||
static struct spi_board_info g900_spi_devices[] __initdata = {
|
||||
{
|
||||
.modalias = "libertas_spi",
|
||||
.max_speed_hz = 13000000,
|
||||
.max_speed_hz = 12000000, /*MAX 13000000*/
|
||||
.bus_num = 3,
|
||||
.irq = gpio_to_irq(G900_WIFI_IRQ),
|
||||
.chip_select = 0,
|
||||
@@ -477,7 +477,7 @@ static struct spi_board_info g900_spi_devices[] __initdata = {
|
||||
},
|
||||
{
|
||||
.modalias = "finderprint_sensor",
|
||||
.max_speed_hz = 13000000,
|
||||
.max_speed_hz = 8000000,
|
||||
.bus_num = 2,
|
||||
.irq = gpio_to_irq(FP_IRQ),
|
||||
.chip_select = 0,
|
||||
|
||||
Reference in New Issue
Block a user