Re: [PATCH] usb: phy: tegra: embed UTMI pad config in phy struct
From: Rosen Penev
Date: Fri Nov 20 2026 - 19:12:35 EST
On Fri, Nov 20, 2026 at 4:40 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sun, Sep 20, 2026 at 06:59:52PM -0700, Rosen Penev wrote:
> > The UTMI pad configuration was kept in a heap-allocated void * member of
> > struct tegra_usb_phy, even though the driver is the only user of the
> > field. Embed the struct directly in the phy state to drop the
> > allocation and the void pointer indirection. The config is
> > zero-initialized when the phy struct is allocated, so no extra init
> > is needed.
>
> But why is this needed? What does this "fix"?
It's only a cleanup. That section just clarifies that behavior is the same.