Messages in this thread | | | Subject | Question: drivers/misc/hdpuftrs | Date | Fri, 11 Dec 2009 19:57:10 -0500 | From | "H Hartley Sweeten" <> |
| |
Hello all,
Are the drivers in drivers/misc/hdpuftrs dead?
I can't locate anywhere to enable CONFIG_HDPU_FEATURES. Also, both hdpu_cpustate.c and hdpu_nexus.c register as platform drivers but I can't find any users in the mainline tree.
Both drivers seem kind of... ugly...
hdpu_cpustate.c does a lock_kernel() in the open file_operation. Then does a spin_lock() when checking if the open is O_EXCL.
I'm no expert on locking but the lock_kernel() seems unnecessary.
Regards, Hartley
| |