cec: don't replace handlers when not initialised, or the primary device's logical...
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 2 Feb 2012 20:06:21 +0000 (21:06 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 2 Feb 2012 20:06:21 +0000 (21:06 +0100)
commit0cfdeb5a137651058e393d70c18523f77c10b5a6
tree18944facc74292ce1fdf9d7749c9ca226f2af627
parentefed01e1744208de67b6c54799a5c45e87d00406
cec: don't replace handlers when not initialised, or the primary device's logical addres isn't known yet, which can lead to crashes. don't call handlers directly in CCECProcessor without holding a lock on them
src/lib/CECProcessor.cpp
src/lib/CECProcessor.h
src/lib/devices/CECBusDevice.cpp
src/lib/devices/CECBusDevice.h