]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sound: usb-audio: remove check_hw_params_convention()
authorClemens Ladisch <clemens@ladisch.de>
Fri, 3 Apr 2009 07:42:42 +0000 (09:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Apr 2009 02:11:21 +0000 (04:11 +0200)
commit4608eb089b41386e96bd1410326073a6c1c221ba
tree9da164ab4a7db348bb1886154d2ffc76df7d6ecc
parent488fe1665fd90f204fbc825b90060b9e0394e4be
sound: usb-audio: remove check_hw_params_convention()

This removes the check_hw_params_convention() function because
1) it is not necessary, as the hw_rule_* functions also work correctly
   (i.e., as no-ops) when the device supports all combinations of the
   audio format parameters; and
2) it would become too complex when adding a fourth altsetting-dependent
   hardware parameter, as this would require another three loops to
   check dependecies with rate/channels/format.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c