Commit 9b5ac8a
scsi: ufs: Fix ufshcd_request_sense_async() for Samsung KLUFG8RHDA-B2D1
Samsung KLUFG8RHDA-B2D1 does not clear the unit attention condition if the
length is zero. So go back to requesting all the sense data, as it was
before patch "scsi: ufs: Request sense data asynchronously". That is
simpler than creating and maintaining a quirk for affected devices.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Adrian Hunter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 313bf28 commit 9b5ac8a
1 file changed
+29
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7937 | 7937 | | |
7938 | 7938 | | |
7939 | 7939 | | |
7940 | | - | |
| 7940 | + | |
| 7941 | + | |
7941 | 7942 | | |
7942 | 7943 | | |
7943 | 7944 | | |
7944 | 7945 | | |
7945 | 7946 | | |
7946 | 7947 | | |
7947 | 7948 | | |
7948 | | - | |
7949 | | - | |
| 7949 | + | |
| 7950 | + | |
7950 | 7951 | | |
7951 | | - | |
| 7952 | + | |
7952 | 7953 | | |
7953 | 7954 | | |
| 7955 | + | |
| 7956 | + | |
7954 | 7957 | | |
7955 | | - | |
7956 | | - | |
7957 | | - | |
| 7958 | + | |
| 7959 | + | |
| 7960 | + | |
| 7961 | + | |
| 7962 | + | |
| 7963 | + | |
| 7964 | + | |
| 7965 | + | |
| 7966 | + | |
| 7967 | + | |
| 7968 | + | |
| 7969 | + | |
| 7970 | + | |
| 7971 | + | |
| 7972 | + | |
7958 | 7973 | | |
7959 | 7974 | | |
7960 | 7975 | | |
7961 | 7976 | | |
7962 | 7977 | | |
7963 | 7978 | | |
7964 | 7979 | | |
| 7980 | + | |
7965 | 7981 | | |
7966 | 7982 | | |
7967 | 7983 | | |
7968 | 7984 | | |
| 7985 | + | |
| 7986 | + | |
| 7987 | + | |
| 7988 | + | |
| 7989 | + | |
| 7990 | + | |
7969 | 7991 | | |
7970 | 7992 | | |
7971 | 7993 | | |
| |||
0 commit comments