Re: [PATCH v11 2/8] ASoC: core: Generic ac97 link reset functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Aug 19, 2013 at 05:05:55PM +0200, Markus Pargmann wrote:
> This patch adds generic ac97 reset functions using pincontrol and gpio
> parsed from devicetree.

Applied, thanks.

> +Required properties:
> + - pinctrl-names: Has to contain following states to setup the correct
> +   pinmuxing for the used gpios:
> +	"ac97-running": AC97-link is active
> +	"ac97-reset": AC97-link reset state
> +	"ac97-warm-reset": AC97-link warm reset state
> + - ac97-gpios: List of gpio phandles with args in the order ac97-sync,
> +   ac97-sdata, ac97-reset

This should really be reviewed on the DT list but never mind.

> +	gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0);

These ought to be _cansleep() since there's no need for them to run in
atomic context but that can be fixed up later.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux