From ce11b5cb774eb8ad43f27796aaecfdd70ca9c273 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 18 May 2018 12:50:12 +0200 Subject: [PATCH] use SetCECState in deepstandby Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/f5ecac70266348b2789869755300d76f325582c9 Author: Jacek Jendrzej Date: 2018-05-18 (Fri, 18 May 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/video.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index 3b1f244..b7cf3c2 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -323,6 +323,9 @@ cVideo::cVideo(int, void *, void *, unsigned int unit) cVideo::~cVideo(void) { + if (standby_cec_activ && fd >= 0) + SetCECState(true); + closeDevice(); }