diff options
author | Tomas Henzl <thenzl@redhat.com> | 2014-07-30 15:12:22 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-08-01 14:16:40 +0200 |
commit | 6f8f31c7a890283bea85c7aac45f089b5766472d (patch) | |
tree | 6b979d0b2ac3faa855d6ccab16df3f8982ca1614 /drivers/idle | |
parent | pm8001: Fix erratic calculation in update_flash (diff) | |
download | linux-6f8f31c7a890283bea85c7aac45f089b5766472d.tar.xz linux-6f8f31c7a890283bea85c7aac45f089b5766472d.zip |
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/idle')
0 files changed, 0 insertions, 0 deletions