Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
87b88aaf
Commit
87b88aaf
authored
May 13, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/rt5645' into asoc-next
parents
e74ac45d
381437dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.c
+10
-6
No files found.
sound/soc/codecs/rt5645.c
View file @
87b88aaf
...
...
@@ -3286,10 +3286,8 @@ static void rt5645_jack_detect_work(struct work_struct *work)
if
(
btn_type
==
0
)
/* button release */
report
=
rt5645
->
jack_type
;
else
{
if
(
rt5645
->
pdata
.
jd_invert
)
{
mod_timer
(
&
rt5645
->
btn_check_timer
,
msecs_to_jiffies
(
100
));
}
mod_timer
(
&
rt5645
->
btn_check_timer
,
msecs_to_jiffies
(
100
));
}
break
;
...
...
@@ -3557,6 +3555,12 @@ static const struct dmi_system_id dmi_platform_intel_braswell[] = {
DMI_MATCH
(
DMI_SYS_VENDOR
,
"GOOGLE"
),
},
},
{
.
ident
=
"Google Setzer"
,
.
matches
=
{
DMI_MATCH
(
DMI_PRODUCT_NAME
,
"Setzer"
),
},
},
{
}
};
...
...
@@ -3810,9 +3814,9 @@ static int rt5645_i2c_probe(struct i2c_client *i2c,
if
(
rt5645
->
pdata
.
jd_invert
)
{
regmap_update_bits
(
rt5645
->
regmap
,
RT5645_IRQ_CTRL2
,
RT5645_JD_1_1_MASK
,
RT5645_JD_1_1_INV
);
setup_timer
(
&
rt5645
->
btn_check_timer
,
rt5645_btn_check_callback
,
(
unsigned
long
)
rt5645
);
}
setup_timer
(
&
rt5645
->
btn_check_timer
,
rt5645_btn_check_callback
,
(
unsigned
long
)
rt5645
);
INIT_DELAYED_WORK
(
&
rt5645
->
jack_detect_work
,
rt5645_jack_detect_work
);
INIT_DELAYED_WORK
(
&
rt5645
->
rcclock_work
,
rt5645_rcclock_work
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment