[PATCH v5 12/16] pwm: crc: Implement get_state() method