]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit875f6fffa2e09b48fa07ecbf2e28dd2425b5ce01
tree8e6b082b705f1d528b0ca40fa17450a136a10023
parent1d03f2bd56f3a45123a7572fb536c063068cfb83
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