Commit b9f26a29 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

comments and todo

parent 8b238de5
......@@ -649,11 +649,10 @@ int gpio_shutdown(struct device *dev)
return gpio_conf_by_index(dev, gpio_shutdown_index, 1, 0);
//TODO: test mutex_lock/unlock works
int gpio_10389_ctrl(struct device *dev, int value){
int i, res;
int val = 0;
//lock here
//doesn't work
if ((value>>(i-8))&0x1){
......@@ -664,8 +663,6 @@ int gpio_10389_ctrl(struct device *dev, int value){
if (res<0) return res;
//unlock somewhere here
//doesn't work
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment