How to get clk rate using clk name?

2015-06-26 Thread victorascroft
Hello, I am writing a driver for a device which does not require a clock specified in the device tree and always has the clock enabled for it. In this driver I require the clock rate of a specific clock, let's say having the name "foo", for a specific timing calculation. Having this clock name, i

[PATCH 0/4] staging: wilc1000: cover letter

2015-06-26 Thread Luis de Bethencourt
Patches to be applied on top of https://patchwork.kernel.org/patch/6655831/ Thanks! Luis ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Filesize in sysfs, debugfs, ...

2015-06-26 Thread Stephan Müller
Hi all, I have a question, what is the policy on file size in sysfs and especially in debugfs? Many (but not all) of the files report a size of 0. Recently I diffed against a file in sysfs. The files were identical, despite the fact one reported size 0. I got the unpleasant result diff -as f