hdmi: cec: remove onHotplugEvent

* HDMI connection HAL should manage this.
This commit is contained in:
Konsta
2025-03-21 23:25:39 +02:00
parent 50cc6c9ca9
commit 667fad95e6

View File

@@ -330,19 +330,6 @@ void HdmiCec::event_thread(HdmiCecPort* hdmiCecPort) {
if (!mCecEnabled) { if (!mCecEnabled) {
continue; continue;
} }
/*
if (ev.event == CEC_EVENT_STATE_CHANGE) {
if (mCallback != nullptr) {
HotplugEvent hotplugEvent{
.connected = (ev.state_change.phys_addr != CEC_PHYS_ADDR_INVALID),
.portId = hdmiCecPort->mPortId};
mCallback->onHotplugEvent(hotplugEvent);
} else {
LOG(ERROR) << "No event callback for hotplug";
}
}
*/
} }
if (ufds[0].revents == POLLIN) { /* CEC Driver */ if (ufds[0].revents == POLLIN) { /* CEC Driver */