Skip to content
Permalink
Browse files

drivers: i2c: sam0: Fix missing break in speed setup

There was a missing break at the end of the high speed setup case,
so it would always return -ENOTSUP even when the high speed baud
was available.

Signed-off-by: Derek Hageman <hageman@inthat.cloud>
  • Loading branch information...
Sizurka authored and nashif committed May 16, 2019
1 parent 4817f41 commit 1202407b0c318ee69fd4d1640f4591792934d067
Showing with 1 addition and 0 deletions.
  1. +1 −0 drivers/i2c/i2c_sam0.c
@@ -616,6 +616,7 @@ static int i2c_sam0_set_apply_bitrate(struct device *dev, u32_t config)
#else
return -ENOTSUP;
#endif
break;

default:
return -ENOTSUP;

0 comments on commit 1202407

Please sign in to comment.
You can’t perform that action at this time.