]> git.baikalelectronics.ru Git - kernel.git/commit
sound: control: fix minimum TLV length
authorClemens Ladisch <clemens@ladisch.de>
Mon, 1 Feb 2010 12:30:56 +0000 (13:30 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 1 Feb 2010 13:12:12 +0000 (14:12 +0100)
commit33d2f4b7510eb216636872dbc429e3e256d50473
tree270effa61bb6e4fab8ec44698e7fafa37b0e7ddc
parentf11221a1541bccaa89c57b8c0ced197171d5c132
sound: control: fix minimum TLV length

Allow TLV blocks that do not have any values; the smallest possible TLV
is an empty container or one where the information is only in the tag.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/control.c