mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
07430f807d
fixes #1014
26 lines
938 B
Diff
26 lines
938 B
Diff
From e59d7e028288464e6890141a830e4a83d4b9d065 Mon Sep 17 00:00:00 2001
|
|
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
|
Date: Mon, 27 Oct 2014 15:32:36 +0100
|
|
Subject: [PATCH 3/8] [CEC] prevent bus rescan on a Pi, since the adapter
|
|
cannot be removed
|
|
|
|
---
|
|
xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp b/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp
|
|
index b02535a..4941ae6 100644
|
|
--- a/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp
|
|
+++ b/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp
|
|
@@ -101,6 +101,8 @@ bool CPeripheralBusCEC::PerformDeviceScan(PeripheralScanResults &results)
|
|
break;
|
|
case ADAPTERTYPE_RPI:
|
|
result.m_mappedBusType = PERIPHERAL_BUS_RPI;
|
|
+ /** the Pi's adapter cannot be removed, no need to rescan */
|
|
+ m_bNeedsPolling = false;
|
|
break;
|
|
default:
|
|
break;
|
|
--
|
|
2.1.2
|
|
|