Commit e024064
soundwire: stream: Invert logic on runtime alloc flags
sdw_stream_add_slave/master have flags to indicate if the master or
slave runtime where allocated in that call to the function. Currently
these flags are cleared on all the paths where the runtime is not
allocated, it is more logic and simpler to set the flag on the one path
where the runtime is allocated.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230602101140.2040141-4-ckeepax@opensource.cirrus.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 2b2da40 commit e024064
1 file changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1854 | 1854 | | |
1855 | 1855 | | |
1856 | 1856 | | |
1857 | | - | |
| 1857 | + | |
1858 | 1858 | | |
1859 | 1859 | | |
1860 | 1860 | | |
| |||
1876 | 1876 | | |
1877 | 1877 | | |
1878 | 1878 | | |
1879 | | - | |
1880 | | - | |
| 1879 | + | |
1881 | 1880 | | |
1882 | | - | |
1883 | 1881 | | |
1884 | 1882 | | |
1885 | 1883 | | |
| |||
1888 | 1886 | | |
1889 | 1887 | | |
1890 | 1888 | | |
| 1889 | + | |
| 1890 | + | |
1891 | 1891 | | |
1892 | 1892 | | |
1893 | 1893 | | |
| |||
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
1983 | | - | |
1984 | | - | |
| 1983 | + | |
| 1984 | + | |
1985 | 1985 | | |
1986 | 1986 | | |
1987 | 1987 | | |
| |||
1992 | 1992 | | |
1993 | 1993 | | |
1994 | 1994 | | |
1995 | | - | |
1996 | | - | |
| 1995 | + | |
1997 | 1996 | | |
1998 | | - | |
1999 | 1997 | | |
2000 | 1998 | | |
2001 | 1999 | | |
| |||
2009 | 2007 | | |
2010 | 2008 | | |
2011 | 2009 | | |
| 2010 | + | |
| 2011 | + | |
2012 | 2012 | | |
2013 | 2013 | | |
2014 | | - | |
2015 | | - | |
| 2014 | + | |
2016 | 2015 | | |
2017 | | - | |
2018 | 2016 | | |
2019 | 2017 | | |
2020 | 2018 | | |
2021 | 2019 | | |
2022 | | - | |
2023 | 2020 | | |
2024 | 2021 | | |
2025 | 2022 | | |
2026 | 2023 | | |
| 2024 | + | |
| 2025 | + | |
2027 | 2026 | | |
2028 | 2027 | | |
2029 | 2028 | | |
| |||
0 commit comments