[PATCH v3 11/15] pwm: crc: Implement get_state() method