diff options
author | Tomas Henzl <thenzl@redhat.com> | 2014-07-30 18:42:22 +0530 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-08-01 08:16:40 -0400 |
commit | 6f8f31c7a890283bea85c7aac45f089b5766472d (patch) | |
tree | 6b979d0b2ac3faa855d6ccab16df3f8982ca1614 /drivers/ide | |
parent | 5bd355ee3b0191c6846918b049b3940182bec1cb (diff) | |
download | linux-6f8f31c7a890283bea85c7aac45f089b5766472d.tar.gz |
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>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions