Benign repos Download

ab8500-codec.c

Includes Linux kernel module headerAssigns a negative errno constant
SHA-256bc6706ac5e800587350626a5c71312ea1a1330b1cf12a045801496e20e0b99eb
MaleculeO(Er)H(Os)

Evidence

English function-word token "the" lines 7–12
7:24… n <roger.xr.nilsson@stericsson.com>,
8 * for ST-Ericsson.
9 *
10 * Based on the early work done by:
11 * Mikko J. Lehto <mikko.lehto@symbio.com>,
12 * Mikko Sarman …
Includes Linux kernel module header lines 13–46
13:41… en@symbio.com>,
14 * for ST-Ericsson.
15 */
16
17#include <linux/kernel.h>
18#include <linux/module.h>
19#include <linux/device.h>
20#include <linux/slab.h>
21#include <linux/moduleparam.h>
22#include <linux/init.h>
23#include <linux/delay.h>
24#include <linux/pm.h>
25#include <linux/platform_device.h>
26#include <linux/mutex.h>
27#include <linux/mfd/abx500/ab8500.h>
28#include <linux/mfd/abx500.h>
29#include <linux/mfd/abx500/ab8500-sysctrl.h>
30#include <linux/mfd/abx500/ab8500-codec.h>
31#include <linux/regulator/consumer.h>
32#include <linux/of.h>
33
34#include <sound/core.h>
35#include <sound/pcm.h>
36#include <sound/pcm_params.h>
37#include <sound/initval.h>
38#include <sound/soc.h>
39#include <sound/soc-dapm.h>
40#include <sound/tlv.h>
41
42#include "ab8500-codec.h"
43
44/* Macrocell value definitions */
45#define CLK_32K_OUT2_DISABLE 0x01
46#define INACTIVE_RESET …
English function-word token "with" lines 59–63
59:28… ANC IIR Init bit high or
60low before proceeding with the configuration sequence */
61#define AB8500_ANC_SM_DELAY 2000
62
63#define AB8500_FILTER_CONTROL …
Kernel error code return lines 1138–1148
1138:54… FIR) {
1139 dev_err(component->dev,
1140 "%s: ERROR: This control supports '%s' only!\n",
1141 __func__, enum_sid_state[SID_APPLY_FIR]);
1142 return -EIO;
1143 }
1144
⋯4 lines
Assigns a negative errno constant lines 1150–1161
1150:13… omponent->dev, "%s: Sidetone busy while off!\n",
1151 __func__);
1152 status = -EPERM;
1153 } else {
1154 status = -EBUSY;
1155 }
1156 goto out;
⋯5 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.