diff options
author | Lu Guanqun <guanqun.lu@intel.com> | 2011-07-08 09:59:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-08 14:02:24 -0700 |
commit | 35b5ddb6466f66c511217abd8b3f490e759dae3e (patch) | |
tree | 1dc16b502e3a0d69e5fdd70bc4ab393613ef953e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 0aee58894551d7a9992f79d77d89f5846eb5e938 (diff) |
sst: report correct jack event
The status of jack event is compared bitwise:
[in sound/core/jack.c:snd_jack_report()]
for (i = 0; i < ARRAY_SIZE(jack_switch_types); i++) {
int testbit = 1 << i;
if (jack->type & testbit)
input_report_switch(jack->input_dev,
jack_switch_types[i],
status & testbit);
}
So in order to report the correct events, 3 should be passed instead of 1.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions