qdsp5/snd.c: Harden check_device to check for invalid device arguments on the lower...
authordetule <ogjoneski@gmail.com>
Tue, 10 Jan 2012 16:55:16 +0000 (11:55 -0500)
committermweirauch <mweirauch@xdandroid.com>
Thu, 12 Jan 2012 21:43:36 +0000 (22:43 +0100)
commit7b59b17795f7dd26ee89729c52abcbc830b64434
treeeb5579cc84b374785cec3f00a343a7dcb68db3c3
parent8035f5f052210880cdbeb2f4b38e706e4e7fc031
qdsp5/snd.c: Harden check_device to check for invalid device arguments on the lower end of the spectrum (<0).

mweirauch: cherry-picked from the .35 cherry-pick
arch/arm/mach-msm/qdsp5/snd.c