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:
Vasily Khoruzhick 2012-11-10 18:21:19 +03:00 committed by Bastien Nocera
parent 39902374ce
commit b307dd1a6a

View file

@ -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;