diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-08-16 17:52:04 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-10-15 22:21:08 +0200 |
commit | ddfb908d3f905dbb5964d6fbf783e69c417eb13e (patch) | |
tree | 9c271214e94eab002378daee5d6c8f8cbebb5762 /drivers/hid/hidraw.c | |
parent | 10963ea1bd966ba46a46178c4d6abcdf3c23538d (diff) |
ieee1394: raw1394: narrow down the state_mutex protected region
Refactor the ioctl dispatcher in order to move a fraction of it out of
the section which is serialized by fi->state_mutex. This is not so much
about performance but more about self-documentation: The mutex_lock()/
mutex_unlock() calls are now closer to the data accesses which the mutex
protects, i.e. to the iso_state switch.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/hid/hidraw.c')
0 files changed, 0 insertions, 0 deletions