card: add drop_master
[android/external-libkmsxx.git] / libkms++ / card.cpp
index d5b823fd27be48ae4274d8f7dfe776fd9e8dcd02..4fd971d70376a1c9b272aaba01a82ed981742040 100644 (file)
@@ -132,6 +132,11 @@ Card::~Card()
        close(m_fd);
 }
 
+void Card::drop_master()
+{
+       drmDropMaster(fd());
+}
+
 void Card::restore_modes()
 {
        for (auto conn : get_connectors())