#ifndef XONAR_H_INCLUDED #define XONAR_H_INCLUDED #include "oxygen.h" struct xonar_generic { unsigned int anti_pop_delay; u16 output_enable_bit; u8 ext_power_reg; u8 ext_power_int_reg; u8 ext_power_bit; u8 has_power; }; struct xonar_hdmi { u8 params[5]; }; /* generic helper functions */ void xonar_enable_output(struct oxygen *chip); void xonar_disable_output(struct oxygen *chip); void xonar_init_ext_power(struct oxygen *chip); void xonar_init_cs53x1(struct oxygen *chip); void xonar_set_cs53x1_params(struct oxygen *chip, struct snd_pcm_hw_params *params); #define XONAR_GPIO_BIT_INVERT (1 << 16) int xonar_gpio_bit_switch_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value); int xonar_gpio_bit_switch_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value); /* model-specific card drivers */ int get_xonar_pcm179x_model(struct oxygen *chip, const struct pci_device_id *id); int get_xonar_cs43xx_model(struct oxygen *chip, const struct pci_device_id *id); int get_xonar_wm87x6_model(struct oxygen *chip, const struct pci_device_id *id); /* HDMI helper functions */ void xonar_hdmi_init(struct oxygen *chip, struct xonar_hdmi *data); void xonar_hdmi_cleanup(struct oxygen *chip); void xonar_hdmi_resume(struct oxygen *chip, struct xonar_hdmi *hdmi); void xonar_hdmi_pcm_hardware_filter(unsigned int channel, struct snd_pcm_hardware *hardware); void xonar_set_hdmi_params(struct oxygen *chip, struct xonar_hdmi *hdmi, struct snd_pcm_hw_params *params); void xonar_hdmi_uart_input(struct oxygen *chip); #endif /net-next.git/refs/?id=3f5c34c6d4688b3b7e1dbc7bbc68a2f03a0d6b0c'>refslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_defer.h
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@gmail.com>2017-01-24 10:12:00 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-24 10:27:34 -0800
commit3f5c34c6d4688b3b7e1dbc7bbc68a2f03a0d6b0c (patch)
treeb9387d85890c4466d9cf3d3145c95e0b07235234 /fs/xfs/libxfs/xfs_defer.h
parent62ed8ceda1699acae01b666497f004bfd3d67a6f (diff)
Input: wm97xx - make missing platform data non-fatal
Commit 6480af4915d6 ("power_supply: wm97xx_battery: use power_supply_get_drvdata") made wm97xx platform data mandatory, although it's still optional. This patch fixes an oops during driver probe on one of my MIPS boards with a wm9712. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_defer.h')