| commit | ab093c29c961834d191eb4674a09a1a0dfe81e76 | [log] [tgz] |
|---|---|---|
| author | WenBin Zhang <freey7955@gmail.com> | Fri Oct 17 22:32:28 2025 +0800 |
| committer | Chris Friedt <chrisfriedt@gmail.com> | Mon Oct 20 14:23:56 2025 -0400 |
| tree | cd9ea3a367d556c916c1075b2951ac2d95718d9b | |
| parent | f8a76ef29c4acfe81f13466393c72cce9fa36c44 [diff] |
drivers: ethernet: eth_stm32 tx_in_sem limit set to 1 tx_int_sem serves solely as a signal indicator and does not require signal counting. Within eth_stm32_tx, the semaphore is reset each time a packet is transmitted. Upon receiving the transmission completion signal, the function exits. Signal counting is unnecessary. Change to a binary semaphore. Signed-off-by: WenBin Zhang <freey7955@gmail.com>