mbox series

[v2,0/2] drm: zynqmp_dp: Use scope-based mutex helpers

Message ID 20250207162528.1651426-1-sean.anderson@linux.dev (mailing list archive)
Headers show
Series drm: zynqmp_dp: Use scope-based mutex helpers | expand

Message

Sean Anderson Feb. 7, 2025, 4:25 p.m. UTC
Fix a mutex bug and convert most of the explicit mutex_(un)locks to
guards.

Changes in v2:
- Convert some conditional return statements to returns of ternary
  expressions.
- Remove unnecessary whitespace change

Bart Van Assche (1):
  drm: zynqmp_dp: Fix a deadlock in zynqmp_dp_ignore_hpd_set()

Sean Anderson (1):
  drm: zynqmp_dp: Use scope-based mutex helpers

 drivers/gpu/drm/xlnx/zynqmp_dp.c | 147 +++++++++++--------------------
 1 file changed, 50 insertions(+), 97 deletions(-)

Comments

Tomi Valkeinen Feb. 12, 2025, 8:01 a.m. UTC | #1
Hi,

On 07/02/2025 18:25, Sean Anderson wrote:
> Fix a mutex bug and convert most of the explicit mutex_(un)locks to
> guards.
> 
> Changes in v2:
> - Convert some conditional return statements to returns of ternary
>    expressions.
> - Remove unnecessary whitespace change
> 
> Bart Van Assche (1):
>    drm: zynqmp_dp: Fix a deadlock in zynqmp_dp_ignore_hpd_set()
> 
> Sean Anderson (1):
>    drm: zynqmp_dp: Use scope-based mutex helpers
> 
>   drivers/gpu/drm/xlnx/zynqmp_dp.c | 147 +++++++++++--------------------
>   1 file changed, 50 insertions(+), 97 deletions(-)
> 

Thanks, looks good to me and works for me. I'll push to drm-misc-next.

  Tomi