diff options
author | Bill Nottingham <notting@redhat.com> | 2013-04-19 15:01:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-19 16:38:39 -0400 |
commit | 0cfee51c7c1fa47d81b3d116df3b53c586aac422 (patch) | |
tree | bddd56b385abfd3fc295a1aa678c75647d8cd41c /drivers/misc/mei/init.c | |
parent | fcb136e1ac5774909e0d85189f721b8dfa800e0f (diff) |
mei: reseting -> resetting
This enum leaks out to userspace via error messages, so fix the spelling.
Signed-off-by: Bill Nottingham <notting@redhat.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/init.c')
-rw-r--r-- | drivers/misc/mei/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c index 59159e05446c..713d89fedc46 100644 --- a/drivers/misc/mei/init.c +++ b/drivers/misc/mei/init.c | |||
@@ -33,7 +33,7 @@ const char *mei_dev_state_str(int state) | |||
33 | MEI_DEV_STATE(INITIALIZING); | 33 | MEI_DEV_STATE(INITIALIZING); |
34 | MEI_DEV_STATE(INIT_CLIENTS); | 34 | MEI_DEV_STATE(INIT_CLIENTS); |
35 | MEI_DEV_STATE(ENABLED); | 35 | MEI_DEV_STATE(ENABLED); |
36 | MEI_DEV_STATE(RESETING); | 36 | MEI_DEV_STATE(RESETTING); |
37 | MEI_DEV_STATE(DISABLED); | 37 | MEI_DEV_STATE(DISABLED); |
38 | MEI_DEV_STATE(POWER_DOWN); | 38 | MEI_DEV_STATE(POWER_DOWN); |
39 | MEI_DEV_STATE(POWER_UP); | 39 | MEI_DEV_STATE(POWER_UP); |
@@ -146,7 +146,7 @@ void mei_reset(struct mei_device *dev, int interrupts_enabled) | |||
146 | if (dev->dev_state != MEI_DEV_INITIALIZING) { | 146 | if (dev->dev_state != MEI_DEV_INITIALIZING) { |
147 | if (dev->dev_state != MEI_DEV_DISABLED && | 147 | if (dev->dev_state != MEI_DEV_DISABLED && |
148 | dev->dev_state != MEI_DEV_POWER_DOWN) | 148 | dev->dev_state != MEI_DEV_POWER_DOWN) |
149 | dev->dev_state = MEI_DEV_RESETING; | 149 | dev->dev_state = MEI_DEV_RESETTING; |
150 | 150 | ||
151 | mei_cl_all_disconnect(dev); | 151 | mei_cl_all_disconnect(dev); |
152 | 152 | ||