commit | 773ac7cc60357b91a5747217b926cca7ef71a5c1 | [log] [tgz] |
---|---|---|
author | Mika Kuoppala <mika.kuoppala@intel.com> | Tue Nov 08 12:31:06 2016 +0200 |
committer | Mika Kuoppala <mika.kuoppala@intel.com> | Fri Nov 11 16:33:10 2016 +0200 |
tree | fdb1a68a15b3fd816e70838a747c23bc92bcb545 | |
parent | 1af5605a35a82932c13711675bfa5f034f7920fa [diff] |
lib: substitute cxt BAN_PERIOD with BANNABLE Context BAN_PERIOD will get depracated so subsitute it with BANNABLE property. Make ctx param test to accept both variants for now until kernel changes have landed, to not break BAT. v2: check against - EINVAL on get/set ban as it can return -EPERM v3: better naming for get/set (Chris) Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>