aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorCharles Keepax <[email protected]>2023-08-08 14:20:05 +0100
committerMark Brown <[email protected]>2023-08-08 18:57:18 +0100
commit87608d3e9de18331c5d3c9ecb915b0ff3d03c089 (patch)
tree6c5c38186b2c99cbbd3a5897318abacdb25d392a /net/lapb/lapb_subr.c
parente1cfd5fef3d6eaf0ddbc54da70ddf54462b23592 (diff)
ASoC: intel: sof-sdw: Move check for valid group id to get_dailink_info
Move the check for a valid group id into get_dailink_info as well. This does cause a slight change in behaviour in that the system will return an error rather than just ignoring the link with an invalid group id. There are presently no systems with invalid group ids in mainline and failing seems more appropriate since it will better highlight the code needs fixing. Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions