commit | df065b373f882c4efc396afa1f31cd8afedab356 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Fri Mar 14 18:04:03 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Mon Mar 24 17:23:09 2014 -0300 |
tree | e1dbc84262106d69a67c41a9fcd2117e834eaefe | |
parent | 320c63870941ef3bb6e08e979d894ad6d51340d7 [diff] |
[media] adv7180: free an interrupt on failure paths in init_device() There is request_irq() in init_device(), but the interrupt is not removed on failure paths. The patch adds proper error handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>