summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c354068)
raw | patch | inline | side by side (parent: c354068)
author | wangws <wangws0709@thundersoft.com> | |
Fri, 23 Aug 2019 09:13:12 +0000 (17:13 +0800) | ||
committer | wangws <wangws0709@thundersoft.com> | |
Fri, 23 Aug 2019 09:13:12 +0000 (17:13 +0800) |
tas2562-regmap.c | patch | blob | history |
diff --git a/tas2562-regmap.c b/tas2562-regmap.c
index 0b2482d64df7a2548c732ac6af3c71466960d586..b081c514747b90cc7026d366e68f0f7f3d88d472 100644 (file)
--- a/tas2562-regmap.c
+++ b/tas2562-regmap.c
TAS2562_POWERCONTROL, &nDevInt1Status);
if (n_result < 0)
goto reload;
- if (chn && channel_right)
+ if (chn & channel_right)
n_result = p_tas2562->read(p_tas2562, channel_right,
TAS2562_POWERCONTROL, &nDevInt3Status);
if (n_result < 0)