commit | 54b1b41f8be7017950d7cdfe8834ed6361d0e33a | [log] [tgz] |
---|---|---|
author | Peter Rosin <peda@axentia.se> | Mon Jul 31 09:38:50 2017 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Aug 09 10:15:03 2017 -0400 |
tree | 91c5e008c99fdee4cdf8172ab80dbca1cfaa388d | |
parent | c6e3bdb8e6a1f0007c6ea1502a46552b789c79f3 [diff] |
media: cx231xx: fail probe if i2c_add_adapter fails While at it, change the type of the previously always-zero i2c_rc member to int, matching the returned type from i2c_add_adapter. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>