diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-06-29 21:13:59 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-07-13 12:28:55 +0200 |
commit | feccf398db631f3b98c4c6572381517d90b5fd87 (patch) | |
tree | d56aac4685cdd6920251eca7fdcf39a18d8561f3 /drivers/platform/x86/samsung-laptop.c | |
parent | e38d1f1312e4e88d1dab1fdf591824e1f3b105a9 (diff) |
iommu: Simplify and fix ida handling
Ida handling can be much simplified by using the ida_simple_.. functions.
This change also fixes the bug that previously checking for errors
returned by ida_get_new() was incomplete.
ida_get_new() can return errors other than EAGAIN, e.g. ENOSPC.
This case wasn't handled.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/platform/x86/samsung-laptop.c')
0 files changed, 0 insertions, 0 deletions