diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-08-29 15:47:27 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-09-13 16:24:57 +0100 |
commit | c0895f80272cd4100a26129f4fb91a85bf6663a1 (patch) | |
tree | e0cae975fcfcfa2feae41c354fb5898f5ea51e45 /fs | |
parent | da94e9c64c19a7fb2caa896628cb501a06cc3e96 (diff) |
drm/vc4: hdmi: Simplify the hotplug handling
Our detect callback has a bunch of operations to perform depending on
the current and last status of the connector, such a setting the CEC
physical address or enabling the scrambling again.
This is currently dealt with a bunch of if / else statetements that make
it fairly difficult to read and extend.
Let's move all that logic to a function of its own.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220829134731.213478-5-maxime@cerno.tech
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions