Re: [PATCH] ASoC: sun4i-codec: Rework and fix headphone routing

2015-10-05 Thread Mark Brown
On Mon, Oct 05, 2015 at 12:25:50PM +0200, Maxime Ripard wrote: > On Mon, Oct 05, 2015 at 10:44:35AM +0100, Mark Brown wrote: > > On Sun, Oct 04, 2015 at 03:38:16PM +0200, Maxime Ripard wrote: > > > Most of the boards have their headphone jack directly connected to the > > > matching pins of the So

Re: [PATCH] ASoC: sun4i-codec: Rework and fix headphone routing

2015-10-05 Thread Maxime Ripard
Hi Mark, On Mon, Oct 05, 2015 at 10:44:35AM +0100, Mark Brown wrote: > On Sun, Oct 04, 2015 at 03:38:16PM +0200, Maxime Ripard wrote: > > > Most of the boards have their headphone jack directly connected to the > > matching pins of the SoCs. Since most of the time we will have the same > > routin

Re: [PATCH] ASoC: sun4i-codec: Rework and fix headphone routing

2015-10-05 Thread Mark Brown
On Sun, Oct 04, 2015 at 03:38:16PM +0200, Maxime Ripard wrote: > Most of the boards have their headphone jack directly connected to the > matching pins of the SoCs. Since most of the time we will have the same > routing path, it makes sense to put that in the driver, and only have a > property des

[PATCH] ASoC: sun4i-codec: Rework and fix headphone routing

2015-10-04 Thread Maxime Ripard
Most of the boards have their headphone jack directly connected to the matching pins of the SoCs. Since most of the time we will have the same routing path, it makes sense to put that in the driver, and only have a property describing whether that route is enabled or not. It also fixes the followi