commit | e95d7c6eb94c634852eaa5ff4caf3db05b5d2e86 | [log] [tgz] |
---|---|---|
author | Zhouyang Jia <jiazhouyang09@gmail.com> | Mon Jun 11 00:39:20 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Thu Jun 28 07:54:49 2018 -0400 |
tree | 905e47ca182374b6a02aa5f4127784ab98c03e92 | |
parent | 6c8871baebc781f27ec9ccc1324afd9802941b11 [diff] |
media: tm6000: add error handling for dvb_register_adapter When dvb_register_adapter fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling dvb_register_adapter. Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com> [hans.verkuil@cisco.com: use pr_err and fix typo: adater -> adapter] Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>