mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
Input: drv260x - fix typo in register value define
ANANLOG should be ANALOG. Fix the typo.
Fixes: 7132fe4f56 ("Input: drv260x - add TI drv260x haptics driver")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20230430-drv260x-improvements-v1-1-1fb28b4cc698@z3ntu.xyz
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
53bea86b57
commit
116721a560
|
|
@ -149,7 +149,7 @@
|
|||
|
||||
/* Control 3 Register */
|
||||
#define DRV260X_LRA_OPEN_LOOP (1 << 0)
|
||||
#define DRV260X_ANANLOG_IN (1 << 1)
|
||||
#define DRV260X_ANALOG_IN (1 << 1)
|
||||
#define DRV260X_LRA_DRV_MODE (1 << 2)
|
||||
#define DRV260X_RTP_UNSIGNED_DATA (1 << 3)
|
||||
#define DRV260X_SUPPLY_COMP_DIS (1 << 4)
|
||||
|
|
@ -322,7 +322,7 @@ static const struct reg_sequence drv260x_lra_init_regs[] = {
|
|||
DRV260X_BEMF_GAIN_3 },
|
||||
{ DRV260X_CTRL1, DRV260X_STARTUP_BOOST },
|
||||
{ DRV260X_CTRL2, DRV260X_SAMP_TIME_250 },
|
||||
{ DRV260X_CTRL3, DRV260X_NG_THRESH_2 | DRV260X_ANANLOG_IN },
|
||||
{ DRV260X_CTRL3, DRV260X_NG_THRESH_2 | DRV260X_ANALOG_IN },
|
||||
{ DRV260X_CTRL4, DRV260X_AUTOCAL_TIME_500MS },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user