pcm1681.c (e3c55d406bd8df1a878546002c93db90c42be10c) | pcm1681.c (64256ac6c2b6fb598fbe187a5503fd9dbb810374) |
---|---|
1/* 2 * PCM1681 ASoC codec driver 3 * 4 * Copyright (c) StreamUnlimited GmbH 2013 5 * Marek Belisko <marek.belisko@streamunlimited.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 256 unchanged lines hidden (view full) --- 265 { } 266}; 267MODULE_DEVICE_TABLE(of, pcm1681_dt_ids); 268#endif 269 270static const struct regmap_config pcm1681_regmap = { 271 .reg_bits = 8, 272 .val_bits = 8, | 1/* 2 * PCM1681 ASoC codec driver 3 * 4 * Copyright (c) StreamUnlimited GmbH 2013 5 * Marek Belisko <marek.belisko@streamunlimited.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 256 unchanged lines hidden (view full) --- 265 { } 266}; 267MODULE_DEVICE_TABLE(of, pcm1681_dt_ids); 268#endif 269 270static const struct regmap_config pcm1681_regmap = { 271 .reg_bits = 8, 272 .val_bits = 8, |
273 .max_register = ARRAY_SIZE(pcm1681_reg_defaults) + 1, | 273 .max_register = 0x13, |
274 .reg_defaults = pcm1681_reg_defaults, 275 .num_reg_defaults = ARRAY_SIZE(pcm1681_reg_defaults), 276 .writeable_reg = pcm1681_writeable_reg, 277 .readable_reg = pcm1681_accessible_reg, 278}; 279 280static struct snd_soc_codec_driver soc_codec_dev_pcm1681 = { 281 .controls = pcm1681_controls, --- 58 unchanged lines hidden --- | 274 .reg_defaults = pcm1681_reg_defaults, 275 .num_reg_defaults = ARRAY_SIZE(pcm1681_reg_defaults), 276 .writeable_reg = pcm1681_writeable_reg, 277 .readable_reg = pcm1681_accessible_reg, 278}; 279 280static struct snd_soc_codec_driver soc_codec_dev_pcm1681 = { 281 .controls = pcm1681_controls, --- 58 unchanged lines hidden --- |