aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/helpers
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-09-01 21:57:25 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-01 20:43:36 +0100
commitf9381ece76de999a2065d5b4fdd87fa17883978c (patch)
tree66a5a51b3471615ed1a426e5f33a952dd05e7ccc /rust/helpers
parentiio: frequency: adf4350: Fix ADF4350_REG3_12BIT_CLKDIV_MODE (diff)
downloadwireguard-linux-f9381ece76de999a2065d5b4fdd87fa17883978c.tar.xz
wireguard-linux-f9381ece76de999a2065d5b4fdd87fa17883978c.zip
iio: dac: ad5360: use int type to store negative error codes
Change the 'ret' variable in ad5360_update_ctrl() from unsigned int to int, as it needs to store either negative error codes or zero returned by ad5360_write_unlocked(). Fixes: a3e2940c24d3 ("staging:iio:dac: Add AD5360 driver") Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Link: https://patch.msgid.link/20250901135726.17601-2-rongqianfeng@vivo.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions