/* * ADAV801 audio driver * * Copyright 2014 Analog Devices Inc. * * Licensed under the GPL-2. */ #include #include #include #include #include "adav80x.h" static const struct spi_device_id adav80x_spi_id[] = { { "adav801", 0 }, { } }; MODULE_DEVICE_TABLE(spi, adav80x_spi_id); static int adav80x_spi_probe(struct spi_device *spi) { struct regmap_config config; config = adav80x_regmap_config; config.read_flag_mask = 0x01; return adav80x_bus_probe(&spi->dev, devm_regmap_init_spi(spi, &config)); } static int adav80x_spi_remove(struct spi_device *spi) { snd_soc_unregister_codec(&spi->dev); return 0; } static struct spi_driver adav80x_spi_driver = { .driver = { .name = "adav801", }, .probe = adav80x_spi_probe, .remove = adav80x_spi_remove, .id_table = adav80x_spi_id, }; module_spi_driver(adav80x_spi_driver); MODULE_DESCRIPTION("ASoC ADAV801 driver"); MODULE_AUTHOR("Lars-Peter Clausen "); MODULE_AUTHOR("Yi Li >"); MODULE_LICENSE("GPL"); ='selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
context' onchange='this.form.submit();'>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-30 13:18:12 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-30 13:18:12 -0800
commit751321b3dd5040dc5be19bd23f985e80c914621a (patch)
tree967928e24b38dc7fed918f932bb1b243af42bf7f /sound/pci/echoaudio
parent566cf877a1fcb6d6dc0126b076aad062054c2637 (diff)
parent586655d278ba08af7b198b93217746f9a506ee8a (diff)
Merge tag 'rtc-4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
Pull RTC fix from Alexandre Belloni: "A single fix for this cycle. It is worth taking it for 4.10 so that distributions will not have CONFIG_RTC_DRV_JZ4740 switching from m to y in their config. Summary: - Allow jz4740 to build as a module again by using kernel_halt()" * tag 'rtc-4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: rtc: jz4740: make the driver buildable as a module again
Diffstat (limited to 'sound/pci/echoaudio')