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