[PATCH v8 13/17] pwm: crc: Implement get_state() method