-
Notifications
You must be signed in to change notification settings - Fork 845
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: iio: frequency: cf_axi_dds: Fix function return path
Return -EINVAL upon error and check return value in calling function. This also fixes a compiler warning. Signed-off-by: Michael Hennerich <[email protected]>
- Loading branch information
1 parent
55757f6
commit 1bd4cde
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters