[PATCH 0/3] Avoid unwanted lspcon init and probe warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently we probe for lspcon, inside lspcon init.

If there is no lspcon connected, the probe expectedly fails and
results in error message. This inturn gets propogated to
lspcon init and we get again error message for lspcon init
failure.

Reduce the error messages from lspcon init.
Separate out some of the functions and avoid displaying error if the
probe fails.

rev2: Changed the approach from previous revision where lspcon_probe was
separated out from lspcon_init, as this was resulting in
lspcon_wake_native_aux_ch not being called before probe.
Instead, just separate out the part of lspcon_probe that can fail, to a
separate function and display the error message for it.

Ankit Nautiyal (3):
  drm/i915/lspcon: Separate out function to get expected mode
  drm/i915/lspcon: Separate out function to set pcon mode
  drm/915/lspcon: Reduce dmesg errors during lspcon_init failure

 drivers/gpu/drm/i915/display/intel_lspcon.c | 65 ++++++++++++---------
 1 file changed, 38 insertions(+), 27 deletions(-)

-- 
2.40.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux