commit | 6c8871baebc781f27ec9ccc1324afd9802941b11 | [log] [tgz] |
---|---|---|
author | Zhouyang Jia <jiazhouyang09@gmail.com> | Mon Jun 11 03:41:58 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Thu Jun 28 07:54:27 2018 -0400 |
tree | 30ceb9c9b599ebd302f02627f2c03a430f602e95 | |
parent | 7534122d60066a50859c422ced4636deb23760bf [diff] |
media: cx88: add error handling for snd_ctl_add When snd_ctl_add fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling snd_ctl_add. Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>