xxm FIH:update lightsensor cm3202

This commit is contained in:
root
2011-04-25 17:48:54 +08:00
parent 3d91347adc
commit 581d60cb54
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
#define STARTUP_LEV_LOW 0
#define SHUTDOWN_LEV_HIGH 1
#define LSR_GPIO RK29_PIN6_PC7
#define LSR_GPIO RK29_PIN5_PA2
#define LSR_IOCTL_NR_ENABLE 1
#define LSR_IOCTL_NR_SETRATE 2
#define LSR_IOCTL_NR_DEVNAME 3

View File

@@ -243,7 +243,7 @@ static int __devinit lsr_probe(struct platform_device *pdev)
}
lightsensor->gpio = LSR_GPIO;
lightsensor->desc = "rk29-lsr";
lightsensor->adc_chn = 1;
lightsensor->adc_chn = 2;
lightsensor->delay_time = 1000;
lightsensor->rate = 100;
lightsensor->oldresult = 0;