diff options
| author | 2014-02-03 15:54:09 +0100 | |
|---|---|---|
| committer | 2014-03-10 22:42:23 -0700 | |
| commit | 0a21552a6e8ab9d3bacd490f5b94a178ce4d661d (patch) | |
| tree | c4a9f0888242a723fcfa618c922deb8ef589f830 /include/linux/platform_data | |
| parent | mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndrome (diff) | |
mtd: elm: Use correct check on return value of pm_runtime_get_sync
The ELM driver incorrectly reagard any non-zero return value from
pm_runtime_get_sync as an error, but it may return 1 if the device
was already active. Fix to only error when return value is negative.
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
