lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <777om4a55azemxmnjnzjeuymtaeg7fvygijnl6uiyfruey63i7@anpkpyotbbhd>
Date: Thu, 30 May 2024 11:20:35 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Ricard Wanderlof <ricardw@...s.com>
Cc: Andrzej Hajda <andrzej.hajda@...el.com>, 
	Neil Armstrong <neil.armstrong@...aro.org>, Robert Foss <rfoss@...nel.org>, 
	Laurent Pinchart <Laurent.pinchart@...asonboard.com>, Jonas Karlman <jonas@...boo.se>, 
	Jernej Skrabec <jernej.skrabec@...il.com>, Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, 
	Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, 
	David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>, dri-devel@...ts.freedesktop.org, 
	linux-kernel@...r.kernel.org, kernel@...s.com
Subject: Re: [PATCH] drm: bridge: adv7511: Accept audio sample widths of 32
 bits via I2S

On Thu, May 30, 2024 at 09:17:03AM +0200, Ricard Wanderlof wrote:
> 
> On Tue, 28 May 2024, Dmitry Baryshkov wrote:
> 
> > On Tue, May 28, 2024 at 12:04:49PM +0200, Ricard Wanderlof wrote:
> > > 
> > > Even though data is truncated to 24 bits, the I2S interface does
> > > accept 32 bit data (the slot widths according to the data sheet
> > > can be 16 or 32 bits) so let the hw_params callback reflect this,
> > > even if the lowest 8 bits are not used when 32 bits are specified.
> > ...
> > > ---
> > >  drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 11 +++++++----
> > >  1 file changed, 7 insertions(+), 4 deletions(-)
> > > 
> > 
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> > 
> > What about:
> > 
> > Fixes: ae053fa234f4 ("drm: bridge: adv7511: Support I2S IEC958 encoded PCM format")
> > 
> > ?
> 
> IMHO, commit ae053fa234f4 doesn't break anything, so there's nothing to be 
> fixed. It adds S/PDIF support, which uses a 32 bit format, but the 32 bit 
> format was not supported at all prior to that commit.

Agreed, let's keep it out of the question.

> 
> I don't really have a problem adding the Fixes tag if you think it's 
> useful, but it doesn't seem quite right to me.
> 
> /Ricard
> -- 
> Ricard Wolf Wanderlof                           ricardw(at)axis.com
> Axis Communications AB, Lund, Sweden            www.axis.com
> Phone +46 46 272 2016                           Fax +46 46 13 61 30

-- 
With best wishes
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ