aes2550: fix bug introduced by last commit
ssm->priv is not aesdev, but fp_img_dev https://bugs.freedesktop.org/show_bug.cgi?id=56782
This commit is contained in:
parent
39902374ce
commit
b307dd1a6a
1 changed files with 2 additions and 1 deletions
|
@ -370,7 +370,8 @@ static void capture_set_idle_reqs_cb(struct libusb_transfer *transfer)
|
|||
static void capture_read_data_cb(struct libusb_transfer *transfer)
|
||||
{
|
||||
struct fpi_ssm *ssm = transfer->user_data;
|
||||
struct aes2550_dev *aesdev = ssm->priv;
|
||||
struct fp_img_dev *dev = ssm->priv;
|
||||
struct aes2550_dev *aesdev = dev->priv;
|
||||
unsigned char *data = transfer->buffer;
|
||||
int r;
|
||||
|
||||
|
|
Loading…
Reference in a new issue