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