Fixes typo in pwm_pin and adds release for all pwm pins to adaptor disconnect.