projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
256aea3
)
cciss: fix call to put_controller_in_performant_mode
author
Mike Miller
<
[email protected]
>
Fri, 11 Jun 2010 11:13:35 +0000
(13:13 +0200)
committer
Jens Axboe
<
[email protected]
>
Sat, 7 Aug 2010 16:15:23 +0000
(18:15 +0200)
call to put_controller_in_performant_mode was in the wrong place
The call inadvertently ended up in an error path.
Signed-off-by: Mike Miller <
[email protected]
>
Cc: Stephen M. Cameron <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Jens Axboe <
[email protected]
>
drivers/block/cciss.c
patch
|
blob
|
history
diff --git
a/drivers/block/cciss.c
b/drivers/block/cciss.c
index 4f59f03f91ff4ab37c1b8b591f9e1f941f69001d..156ea365c14d5ea0709865b76d7f6fe4406d833e 100644
(file)
--- a/
drivers/block/cciss.c
+++ b/
drivers/block/cciss.c
@@
-4150,6
+4150,7
@@
static int __devinit cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
#ifdef CCISS_DEBUG
printk(KERN_WARNING "Trying to put board into Performant mode\n");
#endif /* CCISS_DEBUG */
+ cciss_put_controller_into_performant_mode(c);
return 0;
err_out_free_res:
@@
-4158,7
+4159,6
@@
err_out_free_res:
* Smart Array controllers that pci_enable_device does not undo
*/
pci_release_regions(pdev);
- cciss_put_controller_into_performant_mode(c);
return err;
}