0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 22:39:12 +00:00
Lakka-LibreELEC/packages/mediacenter/kodi/patches/cec-framework/kodi-100.17-tinker-s-cec-disable-polling.patch
2021-12-24 09:59:15 +01:00

14 lines
475 B
Diff

--- a/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp
+++ b/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp
@@ -45,6 +45,10 @@ bool CPeripheralBusCEC::PerformDeviceSca
case ADAPTERTYPE_P8_DAUGHTERBOARD:
result.m_mappedBusType = PERIPHERAL_BUS_USB;
break;
+ case ADAPTERTYPE_LINUX:
+ /** the Linux adapter cannot be removed, no need to rescan */
+ m_bNeedsPolling = false;
+ break;
default:
break;
}