Refresh and fix PWM patch with new revision proposed upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>