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
51126f60
Commit
51126f60
authored
Jul 24, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-linus
parents
66874cc1
f2a5ded3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.c
+3
-0
No files found.
sound/soc/codecs/rt5645.c
View file @
51126f60
...
@@ -2943,6 +2943,9 @@ static int rt5645_irq_detection(struct rt5645_priv *rt5645)
...
@@ -2943,6 +2943,9 @@ static int rt5645_irq_detection(struct rt5645_priv *rt5645)
{
{
int
val
,
btn_type
,
gpio_state
=
0
,
report
=
0
;
int
val
,
btn_type
,
gpio_state
=
0
,
report
=
0
;
if
(
!
rt5645
->
codec
)
return
-
EINVAL
;
switch
(
rt5645
->
pdata
.
jd_mode
)
{
switch
(
rt5645
->
pdata
.
jd_mode
)
{
case
0
:
/* Not using rt5645 JD */
case
0
:
/* Not using rt5645 JD */
if
(
rt5645
->
gpiod_hp_det
)
{
if
(
rt5645
->
gpiod_hp_det
)
{
...
...
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