aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ep0.c
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2023-12-01 14:35:06 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2023-12-03 11:49:53 +0100
commit9c21ea53e6bd1104c637b80a0688040f184cc761 (patch)
tree891c7e0f9d5b22c52d2b2b79078cf9cb66579767 /drivers/usb/cdns3/cdns3-ep0.c
parent1f693ef550f051ef6a95dbfadfa4fbd600769a81 (diff)
x86/microcode/intel: Set new revision only after a successful update
This was meant to be done only when early microcode got updated successfully. Move it into the if-branch. Also, make sure the current revision is read unconditionally and only once. Fixes: 080990aa3344 ("x86/microcode: Rework early revisions reporting") Reported-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Tested-by: Ashok Raj <ashok.raj@intel.com> Link: https://lore.kernel.org/r/ZWjVt5dNRjbcvlzR@a4bf019067fa.jf.intel.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions