mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
xxm FIH:update lightsensor cm3202
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user