Project

General

Profile

Actions

Refactoring #391

open

Refactor singleton states into reentrant pattern

Added by Alexander Goncharov almost 2 years ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Normal
Category:
Programmer
Target version:
Start date:
06/17/2022
Due date:
% Done:

80%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

Move global singleton states into a struct and store within the spi_master / opaque_master / par_master data field for the life-time of the driver.

This is one of the steps on the way to move *_master data memory management behind the initialisation API.

List of programmers which need to be refactored:

* - non-trivial case, this programmer requires some tricks

Actions

Also available in: Atom PDF