LinuxKPI: sync linuxkpi_video with Linux 6.12
MFC after: 1 week
This commit is contained in:
@@ -1314,17 +1314,11 @@ static void hdmi_spd_infoframe_log(const char *level,
|
|||||||
struct device *dev,
|
struct device *dev,
|
||||||
const struct hdmi_spd_infoframe *frame)
|
const struct hdmi_spd_infoframe *frame)
|
||||||
{
|
{
|
||||||
u8 buf[17];
|
|
||||||
|
|
||||||
hdmi_infoframe_log_header(level, dev,
|
hdmi_infoframe_log_header(level, dev,
|
||||||
(const struct hdmi_any_infoframe *)frame);
|
(const struct hdmi_any_infoframe *)frame);
|
||||||
|
|
||||||
memset(buf, 0, sizeof(buf));
|
hdmi_log(" vendor: %.8s\n", frame->vendor);
|
||||||
|
hdmi_log(" product: %.16s\n", frame->product);
|
||||||
strncpy(buf, frame->vendor, 8);
|
|
||||||
hdmi_log(" vendor: %s\n", buf);
|
|
||||||
strncpy(buf, frame->product, 16);
|
|
||||||
hdmi_log(" product: %s\n", buf);
|
|
||||||
hdmi_log(" source device information: %s (0x%x)\n",
|
hdmi_log(" source device information: %s (0x%x)\n",
|
||||||
hdmi_spd_sdi_get_name(frame->sdi), frame->sdi);
|
hdmi_spd_sdi_get_name(frame->sdi), frame->sdi);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user