-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix artik audio bootup #545
Conversation
6d650ed
to
db3685b
Compare
@@ -126,14 +126,29 @@ static void board_gpio_initialize(void) | |||
****************************************************************************/ | |||
static void board_i2c_initialize(void) | |||
{ | |||
#ifdef CONFIG_I2C | |||
#ifdef CONFIG_S5J_I2C | |||
#if defined CONFIG_I2C && defined CONFIG_S5J_I2C |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use brackets.
#if defined(CONFIGXX) && defined(CONFIG_YY)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
@@ -0,0 +1,341 @@ | |||
/**************************************************************************** | |||
* | |||
* Copyright 2016 Samsung Electronics All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2016 -> 2017
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
/* Get an instance of the I2S interface for the ALC5658 data channel */ | ||
|
||
i2s = s5j_i2s_initialize(); | ||
if (!i2s) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be called with 0 as argument, 0 indicating the i2s port.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
No description provided.