Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a9515b0 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

ASoC: wsa881x-analog: fix overwrite of client->dev->driver_data



In probe, client->dev->driver_data is set with client and
again set with pdata. In remove function, we get client instead of
wsa data.

set dev->driver_data with client and dev->platform_data with pdata.
In remove, get wsa pdata from dev platform_data.

Change-Id: I78c69a0b82e53418e3199c5f06ac42839c793e9c
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 90e36e96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment