diff options
author | Mark M. Hoffman <mhoffman@lightlink.com> | 2006-03-05 23:13:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 23:21:55 +0100 |
commit | ded2b66615613093eeb83b81499bc270de8fc499 (patch) | |
tree | 118f87f38a4b7a2c8d65f38beb85fa63da78fb4f /drivers/media | |
parent | [PATCH] I2C: hwmon: Rename register parameters (diff) | |
download | linux-ded2b66615613093eeb83b81499bc270de8fc499.tar.xz linux-ded2b66615613093eeb83b81499bc270de8fc499.zip |
[PATCH] hwmon: add required idr locking
Add required locking around idr_ routines, retry the idr_pre_get/idr_get_new
pair properly, and sprinkle in some likely/unlikely for good measure.
(Lack of idr locking didn't hurt when all callers were I2C clients, as the
i2c-core serialized for us anyway. Now that we have non I2C hwmon drivers,
this is truly necessary.)
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions