power: backport AVS from 3.4 kernel

Signed-off-by: Willi Ye <williye97@gmail.com>