Gpio: fix recursive call
Pwm: fix recursrive call