[EXTERNAL] Re: [PATCH v4 3/3] update tas27xx.h to support either TAS2764 or TAS2780

Mark Brown broonie at kernel.org
Wed Mar 23 17:50:08 CET 2022


On Wed, Mar 23, 2022 at 10:56:04AM +0100, Amadeusz Sławiński wrote:

> this would be probably overdoing it, 4 patches should be enough.
> Patch 1 and 3 seem ok to me, I would just split patch 2, and reorder a bit,
> so something like:
> 1. [PATCH v4 1/3] rename tas2764 to tas27xx-Makefile and Kconfig
> 2. here patch renaming variables (2764 -> xxxx)
> 3. [PATCH v4 3/3] update tas27xx.h to support either TAS2764 or TAS2780
> 4. here patch adding TAS2780 support

That looks like a good plan.

> The reason why patch 3, should go before one adding support is that there is
> dependency on information present in header, and you don't want to break
> build when someone does git bisect with your driver enabled.

Indeed I test for this when applying patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220323/40bc338a/attachment.sig>


More information about the Alsa-devel mailing list