mbox series

[0/1] media: mgb4: Fix debugfs error handling

Message ID 20240826132604.3240-1-tumic@gpxsee.org (mailing list archive)
Headers show
Series media: mgb4: Fix debugfs error handling | expand

Message

Martin Tůma Aug. 26, 2024, 1:26 p.m. UTC
From: Martin Tůma <martin.tuma@digiteqautomotive.com>

This patch handles multiple mgb4 debugfs error handling bugs including the issues
from the two patches from Yang Ruibin:
https://patchwork.linuxtv.org/project/linux-media/patch/20240821071100.7839-1-11162571@vivo.com/
https://patchwork.linuxtv.org/project/linux-media/patch/20240821072944.9275-1-11162571@vivo.com/

Additionally it removes the #ifdef CONFIG_DEBUG_FS lines where possible as
requested by Hans Verkuil.

Martin Tůma (1):
  media: mgb4: Fix debugfs error handling

 drivers/media/pci/mgb4/mgb4_core.c |  8 ++------
 drivers/media/pci/mgb4/mgb4_core.h |  2 --
 drivers/media/pci/mgb4/mgb4_vin.c  | 25 ++++++++++---------------
 drivers/media/pci/mgb4/mgb4_vin.h  |  1 -
 drivers/media/pci/mgb4/mgb4_vout.c | 25 ++++++++++---------------
 drivers/media/pci/mgb4/mgb4_vout.h |  1 -
 6 files changed, 22 insertions(+), 40 deletions(-)


base-commit: ea2e2ea551abf0ce8350f82e8cd431b7f8a1e5e9