commit | 6f8f31c7a890283bea85c7aac45f089b5766472d | [log] [tgz] |
---|---|---|
author | Tomas Henzl <thenzl@redhat.com> | Wed Jul 30 18:42:22 2014 +0530 |
committer | Christoph Hellwig <hch@lst.de> | Fri Aug 01 08:16:40 2014 -0400 |
tree | 6b979d0b2ac3faa855d6ccab16df3f8982ca1614 | |
parent | 5bd355ee3b0191c6846918b049b3940182bec1cb [diff] |
pm8001: fix pm8001_store_update_fw The current implementation may mix the negative value returned from pm8001_set_nvmd with count. -(-ENOMEM) could be interpreted as bytes programmed, this patch fixes it. Signed-off-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>