diff options
author | Sam Bobroff <sam.bobroff@au1.ibm.com> | 2018-03-19 03:49:23 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-27 14:45:19 +0200 |
commit | 34a286a4ac576d3d9ea3ac2bc7bbd4216a1f7ac7 (patch) | |
tree | 2474a8ad747afd3e21581777ab0cb12dabf68ede /sound/drivers | |
parent | powerpc/eeh: Factor out common code eeh_reset_device() (diff) | |
download | linux-34a286a4ac576d3d9ea3ac2bc7bbd4216a1f7ac7.tar.xz linux-34a286a4ac576d3d9ea3ac2bc7bbd4216a1f7ac7.zip |
powerpc/eeh: Add eeh_state_active() helper
Checking for a "fully active" device state requires testing two flag
bits, which is open coded in several places, so add a function to do
it.
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions