mbox series

[v2,0/2] media: renesas: rzg2l-cru: Fix FIFO empty check and typo

Message ID 20250429091609.9947-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Headers show
Series media: renesas: rzg2l-cru: Fix FIFO empty check and typo | expand

Message

Prabhakar April 29, 2025, 9:16 a.m. UTC
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Hi All,

This patch series addresses two minor issues in the rzg2l-cru driver:
1. Simplifies the FIFO empty check by collapsing the redundant `if`
   statement into a single return statement, improving readability
   without changing behavior.
2. Fixes a typo in the function name `rzg3e_fifo_empty` to `rzg2l_fifo_empty`.

v1->v2:
- The commit message for the first patch has been updated to clarify the
  changes made.
- Patch 2/2 is new

v1:
https://lore.kernel.org/all/20250428095208.99062-1-prabhakar.mahadev-lad.rj@bp.renesas.com/

Cheers,
Prabhakar

Lad Prabhakar (2):
  media: renesas: rzg2l-cru: Simplify FIFO empty check
  media: renesas: rzg2l-cru: Fix typo in rzg3e_fifo_empty name

 drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c  | 2 +-
 drivers/media/platform/renesas/rzg2l-cru/rzg2l-cru.h   | 2 +-
 drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c | 4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)