[Patch v3] Fix audmuxv2 debugfs indexing.

Bill Pringlemeir bpringle at sympatico.ca
Mon Nov 15 10:53:34 EST 2010


On 15 Nov 2010, broonie at opensource.wolfsonmicro.com wrote:
On Mon, Nov 15, 2010 at 10:09:12AM -0500, Bill Pringlemeir wrote:

>> -       for (i = 1; i < 8; i++) {
>> +       for (i = 0; i < 6; i++) {
>> snprintf(buf, sizeof(buf), "ssi%d", i);
>> if (!debugfs_create_file(buf, 0444, audmux_debugfs_root,
>> (void *)i, &audmux_debugfs_fops))

> We appear to have misplaced a SSI port here...

Hmm, that is right.  SSI6 was returning bogus data (inside the debugfs
file "UNKNOWN" occured)...  Maybe it is just never setup right.  I
will look.

-- 
Yow!  Legally-imposed CULTURE-reduction is CABBAGE-BRAINED!



More information about the linux-arm-kernel mailing list