commit | 059d1460cacb7e1ee499a02d92ac2b0b84d310fc | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon Feb 27 09:18:35 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Mar 22 11:11:46 2017 -0300 |
tree | 442911bd308be69e6b46eb14fc711d59aadb87fc | |
parent | 533a3f7bc7919f8f5462d6b921532cf1d1ccf6cd [diff] |
[media] cec: return -EPERM when no LAs are configured The CEC_TRANSMIT ioctl now returns -EPERM if an attempt is made to transmit a message for an unconfigured adapter (i.e. userspace never called CEC_ADAP_S_LOG_ADDRS). This differentiates this case from when LAs are configured, but no physical address is set. In that case -ENONET is returned. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>