• Eldad Zack's avatar
    ALSA: usb-audio: rename alt_idx to altsetting · df23a246
    Eldad Zack authored
    
    
    As Clemens Ladisch kindly explained:
     "Please note that there are two methods to identify alternate settings:
      the number, which is the value in bAlternateSetting, and the index,
      which is the index in the descriptor array.  There might be some wording
      in the USB spec that these two values must be the same, but in reality,
      [insert standard rant about firmware writers], bAlternateSetting
      must be treated as a random ID value."
    
    This patch changes the name to express the correct usage semantics.
    No functional change.
    
    Signed-off-by: default avatarEldad Zack <eldad@fogrefinery.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    df23a246