From: Markus Elfring <Markus.Elfring@web.de>
To: Wenyuan Li <2063309626@qq.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org
Cc: stable@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
gszhai@bjtu.edu.cn, 23120469@bjtu.edu.cn, 25125332@bjtu.edu.cn,
25125283@bjtu.edu.cn
Subject: Re: [PATCH v4] media: tuner: add error handling for I2C transfers in set_type()
Date: Fri, 27 Mar 2026 14:38:22 +0100 [thread overview]
Message-ID: <0201d4dd-f7dd-40af-90e6-0865bfdb5190@web.de> (raw)
In-Reply-To: <tencent_3F73117D57532EA69EDD2C9E2BA48A5EBA09@qq.com>
…
> Fix this by:
> - Adding a helper function tuner_i2c_send() that checks the return
> value of i2c_master_send() and logs errors with %pe format
> - Replacing direct i2c_master_send() calls with tuner_i2c_send()
> - Propagating errors to the attach_failed path
>
> This ensures that I2C communication failures during tuner
> initialization are properly detected and handled.
See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.0-rc5#n94
…
> Signed-off-by: Wenyuan Li <2063309626@qq.com>
>
> v4:
> - Added Cc: stable@vger.kernel.org
> - Updated Fixes: to original commit (93df3413f1b4)
> ---
> drivers/media/v4l2-core/tuner-core.c | 22 +++++++++++++++++++---
…
Please move patch version descriptions behind the marker line.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.0-rc5#n785
Regards,
Markus
next prev parent reply other threads:[~2026-03-27 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260327100815.23565-1-2063309626@qq.com>
2026-03-27 10:08 ` Wenyuan Li
2026-03-27 13:38 ` Markus Elfring [this message]
2026-03-27 14:38 Wenyuan Li
2026-03-27 15:10 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0201d4dd-f7dd-40af-90e6-0865bfdb5190@web.de \
--to=markus.elfring@web.de \
--cc=2063309626@qq.com \
--cc=23120469@bjtu.edu.cn \
--cc=25125283@bjtu.edu.cn \
--cc=25125332@bjtu.edu.cn \
--cc=gszhai@bjtu.edu.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®