/* Helper function for getting channel number directly from the feature unit descriptor.  */
static uint8_t get_num_of_channels(const struct feature_unit_descriptor *fu)
/* Helper function for getting channel number directly from the feature unit descriptor.  */
static uint8_t get_num_of_channels(const struct feature_unit_descriptor *fu)
{
	return (fu->bLength - FU_FIXED_ELEMS_SIZE)/sizeof(uint16_t);
}