ALSA: Fix wrong description about hw constraints
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2013 11:24:22 +0000 (12:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2013 11:24:22 +0000 (12:24 +0100)
commita690a2a1eb32e533e2b2afb1daeef3c4011d47e9
treef0c0cdf087f6922448db96cf222122aa443de4b1
parent05dc0fc9d01537a66d9a0cffe2e96296d8f4c7ac
ALSA: Fix wrong description about hw constraints

The definitions of hw constraint functions are wrongly placed, and the
description about the function is also wrong.
hw_rule_channels_by_format actually refines the channels depending on
the format, not vice versa.

Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/DocBook/writing-an-alsa-driver.tmpl