commit | 31d05e5b14f362c7ea99d1d9e977771ef434b820 | [log] [tgz] |
---|---|---|
author | Tomas Henzl <thenzl@redhat.com> | Mon Jul 07 17:19:59 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jul 25 17:17:05 2014 -0400 |
tree | 50148ca973da063718f33e5226ee08c5dc770c35 | |
parent | 9422e864fa4e2d323407cfca6ca14712cf17fb40 [diff] |
pm8001: fix update_flash The driver checks the return valu, but after he tries to wait_for_completion which might never happen. Also the ioctl buffer is freed at the end of the function, so the first removal is not needed. Signed-off-by: Tomas Henzl <thenzl@redhat.com> Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>