Dan Carpenter 58d876fa71 cxl: Unlock on error in probe
We should unlock if get_cxl_adapter() fails.

Fixes: 594ff7d067ca ("cxl: Support to flash a new image on the adapter from a guest")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-06-06 19:23:52 +10:00
..
2017-06-06 19:23:52 +10:00
2014-02-28 14:08:42 -08:00
2017-04-08 17:38:25 +02:00
2017-05-02 23:41:43 +03:00
2017-04-08 18:22:59 +02:00
2017-05-16 23:05:40 +02:00
2017-04-08 17:56:02 +02:00
2017-04-08 17:56:02 +02:00
2017-05-08 19:03:25 -07:00