Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/i2c/i2c_ifx_cat1_pdl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*

Check warning on line 1 in drivers/i2c/i2c_ifx_cat1_pdl.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

Copyright missing

drivers/i2c/i2c_ifx_cat1_pdl.c:1 File has no SPDX-FileCopyrightText header, consider adding one.
* (c) 2025 Infineon Technologies AG, or an affiliate of Infineon Technologies AG.
* All rights reserved.
*
Expand Down Expand Up @@ -101,7 +101,7 @@
typedef void (*ifx_cat1_i2c_event_callback_t)(void *callback_arg, uint32_t event);

en_clk_dst_t _ifx_cat1_scb_get_clock_index(uint32_t block_num);
int32_t _get_hw_block_num(CySCB_Type *reg_addr);
int32_t ifx_cat1_uart_get_hw_block_num(CySCB_Type *reg_addr);

cy_rslt_t _i2c_abort_async(const struct device *dev)
{
Expand Down Expand Up @@ -262,7 +262,7 @@
struct ifx_cat1_i2c_data *data = dev->data;
const struct ifx_cat1_i2c_config *const config = dev->config;
CySCB_Type *base = config->base;
uint32_t block_num = _get_hw_block_num(config->base);
uint32_t block_num = ifx_cat1_uart_get_hw_block_num(config->base);
uint32_t data_rate = 0;
uint32_t peri_freq = 0;
cy_rslt_t status;
Expand Down
Loading