]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: Replace complex if statement with switch
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 4 May 2016 13:59:11 +0000 (14:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 May 2016 15:35:50 +0000 (17:35 +0200)
commitd63e5b38168b5b5fed72a5ddff7a2fc41a1fdf5f
tree8e6b082b705f1d528b0ca40fa17450a136a10023
parent3cb899285a97407a925fb59d245cff6acafe5488
ALSA: compress: Replace complex if statement with switch

A switch statement looks a bit cleaner than an if statement
spread over 3 lines, as such update this to a switch.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c