pwm: add patch from Elias Bakken

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>