diff options
Diffstat (limited to 'skey.c')
-rw-r--r-- | skey.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -192,6 +192,9 @@ static int __init skey_init (void) { printk("skey: setting up update thread...\n"); update_task = kthread_run(skey_update_thread, NULL, "skey_update_thread"); printk(KERN_INFO "skey: module finished initiating\n"); + //explicitly sets pin 4 and 15 to be inputs. + gpio_direction_input(4); + gpio_direction_input(15); return 0; } /* |