summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-02-08 22:54:15 +0900
committerTakashi Iwai <tiwai@suse.de>2016-02-09 12:22:08 +0100
commit0d5ee195b1091e6ebcc121c091ce8646e95a48b6 (patch)
treeb4b546a9bf926b86aeb1443ebbade5e9ecddfd29 /net/switchdev
parentefd931d6c7fc49dc555150c600555df0fac7bf14 (diff)
downloadlinux-next-0d5ee195b1091e6ebcc121c091ce8646e95a48b6.tar.gz
ALSA: dice: limit to current sampling transfer frequency
ALSA PCM core has a functionality for rule of PCM substream parameters. Typically, when userspace opens PCM character devices, each driver adds its own rules to PCM substream according to design of hardware. When the userspace executes hw_params ioctl with favorite parameters, the actual parameters are calculated according to the rules and the given parameters. Then, the result is returned to userspace. Currently, ALSA Dice driver has the rule between channels and rates, while Dice interface design doesn't allow drivers to retrieve all of the combinations. Dice drivers are just allowed to get current sampling transfer frequency and the number of multi bit linear audio data channels in an data block of an AMDTP packet. This commit purges the rule, and limit PCM substreams to current sampling transfer frequency, following to the interface design. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions