Re: [PATCH] drm/amd/pm: Fix a bug communicating with the SMU (v5)

2021-07-21 Thread Alex Deucher
On Mon, Jul 19, 2021 at 7:18 PM Luben Tuikov wrote: > > This fixes a bug which if we probe a non-existing > I2C device, and the SMU returns 0xFF, from then on > we can never communicate with the SMU, because the > code before this patch reads and interprets 0xFF > as a terminal error, and thus we

[PATCH] drm/amd/pm: Fix a bug communicating with the SMU (v5)

2021-07-19 Thread Luben Tuikov
This fixes a bug which if we probe a non-existing I2C device, and the SMU returns 0xFF, from then on we can never communicate with the SMU, because the code before this patch reads and interprets 0xFF as a terminal error, and thus we never write 0 into register 90 to clear the status (and subsequen