Re: [PATCH v2 1/2] ASoC: tas5720.c: cleanup variant management

2019-07-03 Thread Nikolaus Voss
On Wed, 3 Jul 2019, Andrew F. Davis wrote: On 7/2/19 6:12 AM, Nikolaus Voss wrote: On Mon, 1 Jul 2019, Andrew F. Davis wrote: On 7/1/19 11:35 AM, Nikolaus Voss wrote: On Mon, 1 Jul 2019, Andrew F. Davis wrote: On 7/1/19 9:42 AM, Nikolaus Voss wrote: Replace enum tas572x_type with struct

Re: [PATCH v2 1/2] ASoC: tas5720.c: cleanup variant management

2019-07-03 Thread Andrew F. Davis
On 7/2/19 6:12 AM, Nikolaus Voss wrote: > On Mon, 1 Jul 2019, Andrew F. Davis wrote: >> On 7/1/19 11:35 AM, Nikolaus Voss wrote: >>> On Mon, 1 Jul 2019, Andrew F. Davis wrote: On 7/1/19 9:42 AM, Nikolaus Voss wrote: > Replace enum tas572x_type with struct tas5720_variant which aggregates

Re: [PATCH v2 1/2] ASoC: tas5720.c: cleanup variant management

2019-07-02 Thread Nikolaus Voss
On Mon, 1 Jul 2019, Andrew F. Davis wrote: On 7/1/19 11:35 AM, Nikolaus Voss wrote: On Mon, 1 Jul 2019, Andrew F. Davis wrote: On 7/1/19 9:42 AM, Nikolaus Voss wrote: Replace enum tas572x_type with struct tas5720_variant which aggregates variant specific stuff and can be directly referenced

Re: [PATCH v2 1/2] ASoC: tas5720.c: cleanup variant management

2019-07-01 Thread Andrew F. Davis
On 7/1/19 11:35 AM, Nikolaus Voss wrote: > On Mon, 1 Jul 2019, Andrew F. Davis wrote: >> On 7/1/19 9:42 AM, Nikolaus Voss wrote: >>> Replace enum tas572x_type with struct tas5720_variant which aggregates >>> variant specific stuff and can be directly referenced from an id table. >>> >>>

Re: [PATCH v2 1/2] ASoC: tas5720.c: cleanup variant management

2019-07-01 Thread Nikolaus Voss
On Mon, 1 Jul 2019, Andrew F. Davis wrote: On 7/1/19 9:42 AM, Nikolaus Voss wrote: Replace enum tas572x_type with struct tas5720_variant which aggregates variant specific stuff and can be directly referenced from an id table. Signed-off-by: Nikolaus Voss --- sound/soc/codecs/tas5720.c | 98

Re: [PATCH v2 1/2] ASoC: tas5720.c: cleanup variant management

2019-07-01 Thread Andrew F. Davis
On 7/1/19 9:42 AM, Nikolaus Voss wrote: > Replace enum tas572x_type with struct tas5720_variant which aggregates > variant specific stuff and can be directly referenced from an id table. > > Signed-off-by: Nikolaus Voss > --- > sound/soc/codecs/tas5720.c | 98

[PATCH v2 1/2] ASoC: tas5720.c: cleanup variant management

2019-07-01 Thread Nikolaus Voss
Replace enum tas572x_type with struct tas5720_variant which aggregates variant specific stuff and can be directly referenced from an id table. Signed-off-by: Nikolaus Voss --- sound/soc/codecs/tas5720.c | 98 +- 1 file changed, 33 insertions(+), 65