commit | ddee56943ab6df098e411fe943c2a52063fba0a5 | [log] [tgz] |
---|---|---|
author | Antti Palosaari <crope@iki.fi> | Fri Jun 15 21:17:04 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Aug 04 07:56:34 2012 -0300 |
tree | dcb848b6fc93284bd4129f148539956c650c5be0 | |
parent | dd5e52cdf9e2518e79b634fa2ae1cc86e37cff14 [diff] |
[media] dvb_usb_v2: .read_mac_address() callback changes Give DVB adapter as a parameter for callback. MAC address is adapter property and it could be (at least in theory) there is devices having multiple adapters and all has own MAC. Also add error handling. If callback fails error is returned which leads device unregister. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>