summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/cec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/cec.h b/include/media/cec.h
index 9d0f983faea9..16341210d3ba 100644
--- a/include/media/cec.h
+++ b/include/media/cec.h
@@ -427,6 +427,10 @@ static inline u16 cec_phys_addr_for_input(u16 phys_addr, u8 input)
static inline int cec_phys_addr_validate(u16 phys_addr, u16 *parent, u16 *port)
{
+ if (parent)
+ *parent = phys_addr;
+ if (port)
+ *port = 0;
return 0;
}
OpenPOWER on IntegriCloud