disable keyadc
This commit is contained in:
parent
21d9d2d198
commit
c0c756a686
5 changed files with 2 additions and 1 deletions
|
@ -28,8 +28,9 @@ int sunxi_key_init(void)
|
||||||
|
|
||||||
reg_val = sunxi_key_base->ctrl;
|
reg_val = sunxi_key_base->ctrl;
|
||||||
reg_val &= ~((7 << 1) | (0xffU << 24));
|
reg_val &= ~((7 << 1) | (0xffU << 24));
|
||||||
|
/* bpi, disable lradc
|
||||||
reg_val |= LRADC_HOLD_EN;
|
reg_val |= LRADC_HOLD_EN;
|
||||||
reg_val |= LRADC_EN;
|
reg_val |= LRADC_EN;*/
|
||||||
sunxi_key_base->ctrl = reg_val;
|
sunxi_key_base->ctrl = reg_val;
|
||||||
|
|
||||||
/* disable all key irq */
|
/* disable all key irq */
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue